From 104ba4a47a6aa859c984acab31d1618b62bb65ab Mon Sep 17 00:00:00 2001 From: delmon Date: Thu, 31 Mar 2011 08:04:37 +0000 Subject: [PATCH] [BUG] change __APPLE__ to APPLE the first is the C/C++ macro defined by CMake and the second the CMake macro. --- vv/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) #========================================================= #========================================================= -- 2.45.1