diff Resources/CMake/GoogleLogConfiguration.cmake @ 917:312d04beb0a2 mac

branch for mac os build
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 24 Feb 2014 15:10:30 +0100
parents e8e59e80868c
children ac8f68cbdbb6
line wrap: on
line diff
--- a/Resources/CMake/GoogleLogConfiguration.cmake	Mon Feb 24 13:50:40 2014 +0100
+++ b/Resources/CMake/GoogleLogConfiguration.cmake	Mon Feb 24 15:10:30 2014 +0100
@@ -28,7 +28,8 @@
   set(ac_google_start_namespace "namespace google {")
   set(ac_google_end_namespace "}")
 
-  if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
+  if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux" OR
+      ${CMAKE_SYSTEM_NAME} STREQUAL "Darwin")
     set(ac_cv_have_unistd_h 1)
     set(ac_cv_have_stdint_h 1)
     set(ac_cv_have_systypes_h 0)
@@ -83,7 +84,8 @@
       )
   endif()
 
-  if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
+  if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux" OR
+      ${CMAKE_SYSTEM_NAME} STREQUAL "Darwin")
     if ("${CMAKE_SYSTEM_VERSION}" STREQUAL "LinuxStandardBase")
       # Install the specific configuration for LSB SDK
       configure_file(