From: delmon Date: Thu, 31 Mar 2011 08:04:37 +0000 (+0000) Subject: [BUG] change __APPLE__ to APPLE the first is the C/C++ macro defined by CMake X-Git-Tag: v1.2.0~84 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=104ba4a47a6aa859c984acab31d1618b62bb65ab;p=clitk.git [BUG] change __APPLE__ to APPLE the first is the C/C++ macro defined by CMake and the second the CMake macro. --- diff --git a/vv/CMakeLists.txt b/vv/CMakeLists.txt index d52f247..2161933 100644 --- a/vv/CMakeLists.txt +++ b/vv/CMakeLists.txt @@ -167,11 +167,11 @@ INCLUDE_DIRECTORIES( #========================================================= #support for parallel deformable registration with OpenMP -IF(NOT __APPLE__) +IF(NOT APPLE) IF(CMAKE_COMPILER_IS_GNUCC) SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fopenmp") ENDIF(CMAKE_COMPILER_IS_GNUCC) -ENDIF(NOT __APPLE__) +ENDIF(NOT APPLE) #========================================================= #=========================================================