Add ConvertColorCursors to CMake, port to *nix

Also swaps \ for / in paths. This should still work fine on Windows.
This commit is contained in:
Diomendius
2024-06-18 12:47:19 +12:00
parent e09480898b
commit 4e34fccba1
2 changed files with 21 additions and 2 deletions

View File

@@ -453,5 +453,20 @@ if(FREETYPE_FOUND)
target_link_libraries(GenerateFonts PortabilityLayer GpFontHandler_FreeType2)
endif()
add_executable(ConvertColorCursors
ConvertColorCursors/ConvertColorCursors.cpp
AerofoilPortable/GpAllocator_C.cpp
stb/stb_image_write.c
)
target_include_directories(ConvertColorCursors PRIVATE
Common
GpCommon
PortabilityLayer
AerofoilPortable
stb
UnixCompat
)
target_link_libraries(ConvertColorCursors PortabilityLayer)
install (TARGETS ${EXECNAME})