]> Creatis software - clitk.git/commitdiff
[BUG] change __APPLE__ to APPLE the first is the C/C++ macro defined by CMake
authordelmon <delmon>
Thu, 31 Mar 2011 08:04:37 +0000 (08:04 +0000)
committerdelmon <delmon>
Thu, 31 Mar 2011 08:04:37 +0000 (08:04 +0000)
and the second the CMake macro.

vv/CMakeLists.txt

index d52f247b110f61ad59fc38787209fdd1c51b78ba..2161933a04877baa1c971a4a1953dff743ba9b80 100644 (file)
@@ -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)
 #=========================================================
 
 #=========================================================