solvespace/tools/CMakeLists.txt
whitequark 02c30e6f87 Rewrite ttf2c to use GNU Unifont and merge with pngchar2c.pl.
After this change, SolveSpace does not contain nonfree assets.
Additionally, Perl is not required for the build.

Note that in the US, case law suggests that copyright does
not apply to bitmap fonts:
  http://www.renpy.org/wiki/renpy/misc/Bitmap_Fonts_and_Copyright

Nevertheless, it was prudent to replace the asset with something
that is unambiguously free.
2015-12-29 11:15:50 +08:00

18 lines
296 B
CMake

include_directories(
${PNG_INCLUDE_DIRS})
link_directories(
${PNG_LIBRARY_DIRS})
add_executable(png2c
png2c.cpp)
target_link_libraries(png2c
${PNG_LIBRARIES})
add_executable(unifont2c
unifont2c.cpp)
target_link_libraries(unifont2c
${PNG_LIBRARIES} ${ZLIB_LIBRARIES})