From: ageay Date: Tue, 3 Apr 2012 09:29:36 +0000 (+0000) Subject: MED CMakization X-Git-Tag: V6_main_FINAL~687 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b18a95ec2941466d71b147694df74c7443d6f369;p=tools%2Fmedcoupling.git MED CMakization --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 0ea166c23..5b0e01cc6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)