Mercurial > hg > orthanc
diff Resources/CMake/GoogleLogConfiguration.cmake @ 569:701d748cf327 laaw
fixes
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 25 Sep 2013 13:18:19 +0200 |
parents | ded40a9e8cc8 |
children | d775a3cb5a06 |
line wrap: on
line diff
--- a/Resources/CMake/GoogleLogConfiguration.cmake Wed Sep 25 12:45:33 2013 +0200 +++ b/Resources/CMake/GoogleLogConfiguration.cmake Wed Sep 25 13:18:19 2013 +0200 @@ -49,7 +49,7 @@ ) if (CMAKE_COMPILER_IS_GNUCXX) - if (${CMAKE_SYSTEM_VERSION} STREQUAL "LinuxStandardBase") + if ("${CMAKE_SYSTEM_VERSION}" STREQUAL "LinuxStandardBase") execute_process( COMMAND patch utilities.cc ${CMAKE_SOURCE_DIR}/Resources/Patches/glog-utilities-lsb.diff WORKING_DIRECTORY ${GOOGLE_LOG_SOURCES_DIR}/src @@ -72,7 +72,7 @@ endif() if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux") - if (${CMAKE_SYSTEM_VERSION} STREQUAL "LinuxStandardBase") + if ("${CMAKE_SYSTEM_VERSION}" STREQUAL "LinuxStandardBase") # Install the specific configuration for LSB SDK configure_file( ${CMAKE_SOURCE_DIR}/Resources/CMake/GoogleLogConfigurationLSB.h