2 set(BUNDLE_OS_NAME "windows")
3 elseif ("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux")
4 set(BUNDLE_OS_NAME "linux")
6 set(BUNDLE_OS_NAME "unsupported")
9 add_custom_target(bundle ALL
10 COMMAND "${PROJECT_SOURCE_DIR}/library-bundler"
11 "${BUNDLE_OS_NAME}" "${PROJECT_BINARY_DIR}"
13 COMMENT "Bundling libraries"
17 ${PROJECT_BINARY_DIR}/lib
18 ${PROJECT_BINARY_DIR}/share
19 DESTINATION ${CMAKE_INSTALL_PREFIX}