Mercurial > hg > orthanc
diff Resources/CMake/Compiler.cmake @ 890:816dccaeb7cf
Support of kFreeBSD
author | jodogne |
---|---|
date | Mon, 16 Jun 2014 15:39:16 +0200 |
parents | ec2c2411d4db |
children | 27d256e0b458 |
line wrap: on
line diff
--- a/Resources/CMake/Compiler.cmake Sat Jun 14 15:50:02 2014 +0200 +++ b/Resources/CMake/Compiler.cmake Mon Jun 16 15:39:16 2014 +0200 @@ -37,7 +37,8 @@ endif() -if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux") +if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux" OR + ${CMAKE_SYSTEM_NAME} STREQUAL "kFreeBSD") if ("${CMAKE_SYSTEM_VERSION}" STREQUAL "LinuxStandardBase") SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} --lsb-target-version=${LSB_TARGET_VERSION} -I${LSB_PATH}/include") SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --lsb-target-version=${LSB_TARGET_VERSION} -nostdinc++ -I${LSB_PATH}/include -I${LSB_PATH}/include/c++ -I${LSB_PATH}/include/c++/backward -fpermissive")