celestia/src/celtxf/CMakeLists.txt

20 lines
383 B
CMake
Raw Normal View History

2018-11-28 14:42:00 -07:00
set(CELTFX_SOURCES
texturefont.cpp
texturefont.h
)
add_library(celtxf STATIC ${CELTFX_SOURCES})
2018-11-28 14:42:00 -07:00
#[[
add_library(celtxf SHARED ${CELTFX_SOURCES})
set_target_properties(celtxf PROPERTIES
VERSION ${VERSION}
SOVERSION ${VERSION}
)
]]#
add_dependencies(celtxf celutil)
target_link_libraries(celtxf celutil)
2018-11-28 14:42:00 -07:00
#install(TARGETS celtxf LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})