a0bcd2cf68
PR: 213195 Submitted by: mat Exp-run by: antoine Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D8093
20 lines
787 B
Text
20 lines
787 B
Text
--- CMakeLists.txt.orig 2014-12-21 11:46:44 UTC
|
|
+++ CMakeLists.txt
|
|
@@ -123,7 +123,7 @@ if(NOT DEFINED BIN_INSTALL_DIR)
|
|
set(BIN_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/bin)
|
|
endif()
|
|
|
|
-if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
|
+if(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD|DragonFly")
|
|
# uninstall target
|
|
configure_file(
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/cmake_uninstall.cmake.in"
|
|
@@ -153,7 +153,7 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
|
file(GLOB supplement_schema ${PROJECT_SOURCE_DIR}/data/supplement/*.yaml)
|
|
install(FILES ${supplement_schema} DESTINATION ${pkgdatadir})
|
|
endif(BUILD_DATA)
|
|
-endif(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
|
+endif(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD|DragonFly")
|
|
|
|
if(BUILD_SHARED_LIBS)
|
|
add_definitions(-DRIME_BUILD_SHARED_LIBS)
|