Mercurial > hg > orthanc
diff Resources/CMake/GoogleLogConfiguration.cmake @ 918:ac8f68cbdbb6 mac
build cont
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 24 Feb 2014 16:09:06 +0100 |
parents | 312d04beb0a2 |
children | cecce673f22f |
line wrap: on
line diff
--- a/Resources/CMake/GoogleLogConfiguration.cmake Mon Feb 24 15:10:30 2014 +0100 +++ b/Resources/CMake/GoogleLogConfiguration.cmake Mon Feb 24 16:09:06 2014 +0100 @@ -92,6 +92,12 @@ ${CMAKE_SOURCE_DIR}/Resources/CMake/GoogleLogConfigurationLSB.h ${GOOGLE_LOG_SOURCES_DIR}/src/config.h COPYONLY) + elseif ("${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin") + # Install the specific configuration for Mac OS + configure_file( + ${CMAKE_SOURCE_DIR}/Resources/CMake/GoogleLogConfigurationDarwin.h + ${GOOGLE_LOG_SOURCES_DIR}/src/config.h + COPYONLY) else() configure_file( ${CMAKE_SOURCE_DIR}/Resources/CMake/GoogleLogConfiguration.h