]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
MED CMakization
authorageay <ageay>
Tue, 3 Apr 2012 09:29:36 +0000 (09:29 +0000)
committerageay <ageay>
Tue, 3 Apr 2012 09:29:36 +0000 (09:29 +0000)
CMakeLists.txt

index 0ea166c230a3893341f05f9e344e0c76bc3c5ce4..5b0e01cc6c175fce058de004c4a28cb95228f1e1 100644 (file)
@@ -70,9 +70,9 @@ INCLUDE(${CMAKE_SOURCE_DIR}/adm_local/cmake_files/FindSCOTCH.cmake)
 INCLUDE(${CMAKE_SOURCE_DIR}/adm_local/cmake_files/FindSPLITTER.cmake)
 INCLUDE(${CMAKE_SOURCE_DIR}/adm_local/cmake_files/FindRENUMBER.cmake)
 INCLUDE(${CMAKE_SOURCE_DIR}/adm_local/cmake_files/FindMEDFILE.cmake)
-IF(WINDOWS)
+IF(WIN32)
   INCLUDE(${CMAKE_SOURCE_DIR}/adm_local/cmake_files/FindXDR.cmake)
-ENDIF(WINDOWS)
+ENDIF(WIN32)
 
 EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "import sys; t=sys.argv[-1].split(\".\") ; t[:]=(int(elt) for elt in t) ; sys.stdout.write(\"0x%02x%02x%02x\"%tuple(t))" ${VERSION}
   OUTPUT_VARIABLE XVERSION)