blob: ca1858355dde6f39d2498d45f9c5878ab637ec22 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
file(GLOB VTFLIB_INCLUDES
"VTFLib/*.h"
)
set_target_properties(vtflib_static
PROPERTIES
PUBLIC_HEADER "${VTFLIB_INCLUDES}"
)
install (TARGETS vtflib vtflib_static
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
PUBLIC_HEADER DESTINATION include
)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/vtflib.pc.in ${CMAKE_CURRENT_BINARY_DIR}/vtflib.pc @ONLY)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/vtflib.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
|