comparison Resources/CMake/GoogleLogConfiguration.cmake @ 1337:afaa55d42ddd

FreeBSD support
author jodogne
date Tue, 31 Mar 2015 11:40:29 +0200
parents f25c79497739
children bf6db7d2f8b1
comparison
equal deleted inserted replaced
1336:a80e811ec619 1337:afaa55d42ddd
28 set(ac_google_start_namespace "namespace google {") 28 set(ac_google_start_namespace "namespace google {")
29 set(ac_google_end_namespace "}") 29 set(ac_google_end_namespace "}")
30 30
31 if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux" OR 31 if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux" OR
32 ${CMAKE_SYSTEM_NAME} STREQUAL "Darwin" OR 32 ${CMAKE_SYSTEM_NAME} STREQUAL "Darwin" OR
33 ${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD" OR
33 ${CMAKE_SYSTEM_NAME} STREQUAL "kFreeBSD") 34 ${CMAKE_SYSTEM_NAME} STREQUAL "kFreeBSD")
34 set(ac_cv_have_unistd_h 1) 35 set(ac_cv_have_unistd_h 1)
35 set(ac_cv_have_stdint_h 1) 36 set(ac_cv_have_stdint_h 1)
36 set(ac_cv_have_systypes_h 0) 37 set(ac_cv_have_systypes_h 0)
37 set(ac_cv_have_inttypes_h 0) 38 set(ac_cv_have_inttypes_h 0)
94 endif() 95 endif()
95 96
96 97
97 if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux" OR 98 if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux" OR
98 ${CMAKE_SYSTEM_NAME} STREQUAL "Darwin" OR 99 ${CMAKE_SYSTEM_NAME} STREQUAL "Darwin" OR
100 ${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD" OR
99 ${CMAKE_SYSTEM_NAME} STREQUAL "kFreeBSD") 101 ${CMAKE_SYSTEM_NAME} STREQUAL "kFreeBSD")
100 if ("${CMAKE_SYSTEM_VERSION}" STREQUAL "LinuxStandardBase") 102 if ("${CMAKE_SYSTEM_VERSION}" STREQUAL "LinuxStandardBase")
101 # Install the specific configuration for LSB SDK 103 # Install the specific configuration for LSB SDK
102 configure_file( 104 configure_file(
103 ${ORTHANC_ROOT}/Resources/CMake/GoogleLogConfigurationLSB.h 105 ${ORTHANC_ROOT}/Resources/CMake/GoogleLogConfigurationLSB.h