solvespace/tools/CMakeLists.txt
whitequark f76f76ff60 Rewrite png2c.pl in C++.
This allows us to always generate icons during build,
and in the future remove a Perl dependency.
2015-12-29 11:15:50 +08:00

20 lines
292 B
CMake

include_directories(
${PNG_INCLUDE_DIRS})
link_directories(
${PNG_LIBRARY_DIRS})
if(WIN32)
add_executable(ttf2c
ttf2c.cpp)
target_link_libraries(ttf2c
comctl32)
endif()
add_executable(png2c
png2c.cpp)
target_link_libraries(png2c
${PNG_LIBRARIES})