]> de.git.xonotic.org Git - xonotic/netradiant.git/blob - bundle/CMakeLists.txt
Merge branch 'kingpin' into 'master'
[xonotic/netradiant.git] / bundle / CMakeLists.txt
1 if (WIN32)
2     set(BUNDLE_OS_NAME "windows")
3 else ()
4     set(BUNDLE_OS_NAME "unsupported")
5 endif ()
6
7 add_custom_target(bundle ALL
8     COMMAND "${PROJECT_SOURCE_DIR}/library-bundler"
9     "${BUNDLE_OS_NAME}" "${PROJECT_BINARY_DIR}"
10     VERBATIM
11     COMMENT "Bundling libraries"
12 )
13
14 install(DIRECTORY
15     ${PROJECT_BINARY_DIR}/lib
16     ${PROJECT_BINARY_DIR}/share
17     DESTINATION ${CMAKE_INSTALL_PREFIX}
18 )