e8f5f90603
since rdtk is only used by shadow server add an option to directly link it with -DRDTK_FORCE_STATIC_BUILD=ON without installing any header or library
11 lines
271 B
CMake
11 lines
271 B
CMake
|
|
if (NOT RDTK_FORCE_STATIC_BUILD)
|
|
install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/
|
|
DESTINATION ${RDTK_INCLUDE_DIR}
|
|
FILES_MATCHING PATTERN "*.h")
|
|
|
|
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/
|
|
DESTINATION ${RDTK_INCLUDE_DIR}
|
|
FILES_MATCHING PATTERN "*.h")
|
|
endif()
|