]> SALOME platform Git repositories - modules/paravis.git/commitdiff
Salome HOME
Patch from Mathieu (KW). I do not understand why.
authorAnthony Geay <anthony.geay@edf.fr>
Mon, 29 May 2017 12:43:00 +0000 (14:43 +0200)
committerAnthony Geay <anthony.geay@edf.fr>
Mon, 29 May 2017 12:43:00 +0000 (14:43 +0200)
src/Plugins/MEDReader/CMakeLists.txt

index a1353d16859d623940c6fc7b27e9e7bd59816dc4..dc5e54b819869d7e7172942d780b8d940baefe71 100644 (file)
@@ -51,6 +51,8 @@ ENDIF(WIN32)
 
 # Common CMake macros
 # ===================
+SET(TMP_CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH})
+unset(CMAKE_MODULE_PATH)
 SET(CONFIGURATION_ROOT_DIR $ENV{CONFIGURATION_ROOT_DIR} CACHE PATH "Path to the Salome CMake configuration files")
 IF(EXISTS ${CONFIGURATION_ROOT_DIR})
   LIST(APPEND CMAKE_MODULE_PATH "${CONFIGURATION_ROOT_DIR}/cmake")
@@ -63,7 +65,11 @@ SET(MEDCOUPLING_ROOT_DIR $ENV{MEDCOUPLING_ROOT_DIR} CACHE PATH "Path to the MEDC
 IF(EXISTS ${MEDCOUPLING_ROOT_DIR})
   LIST(APPEND CMAKE_MODULE_PATH "${MEDCOUPLING_ROOT_DIR}/cmake_files")   
 ENDIF()
-       
+LIST(APPEND CMAKE_MODULE_PATH "${CMAKE_ROOT}/Modules")
+LIST(APPEND CMAKE_MODULE_PATH ${TMP_CMAKE_MODULE_PATH})
+
+
+
 # Platform setup
 # ==============
 INCLUDE(SalomeSetupPlatform)