]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
CMake: added FindSalomeMED.cmake so taht PARAVIS can load MED in config mode
authorbruneton <bruneton>
Wed, 10 Jul 2013 08:50:23 +0000 (08:50 +0000)
committerbruneton <bruneton>
Wed, 10 Jul 2013 08:50:23 +0000 (08:50 +0000)
Fixed some configruation elements

CMakeLists.txt
adm_local/cmake_files/CMakeLists.txt

index 8ead1e4d150e82630b67d74ea44958f94e3b79ae..3ff90e5f790a40d6e812690d4402275a9d7ee017 100644 (file)
@@ -270,8 +270,9 @@ EXPORT(TARGETS ${_${PROJECT_NAME}_exposed_targets}
 # Create the configuration files:
 #   - in the build tree:
 
-#      Ensure the variables are always defined for the configure:
-
+#      Ensure the variables are always defined for the configure (even if empty):
+SET(KERNEL_ROOT_DIR "${KERNEL_ROOT_DIR}")
+SET(GUI_ROOT_DIR "${GUI_ROOT_DIR}")
 SET(MEDFILE_ROOT_DIR "${MEDFILE_ROOT_DIR}")
 SET(HDF5_ROOT_DIR "${HDF5_ROOT_DIR}")
 SET(MPI_ROOT_DIR "${MPI_ROOT_DIR}")
@@ -292,7 +293,8 @@ CONFIGURE_PACKAGE_CONFIG_FILE(adm_local/cmake_files/${PROJECT_NAME}Config.cmake.
     ${PROJECT_BINARY_DIR}/to_install/${PROJECT_NAME}Config.cmake
     INSTALL_DESTINATION "${SALOME_INSTALL_CMAKE}"
     PATH_VARS CONF_INCLUDE_DIRS SALOME_INSTALL_CMAKE CMAKE_INSTALL_PREFIX 
-       MEDFILE_ROOT_DIR HDF5_ROOT_DIR OMNIORB_ROOT_DIR PTHREAD_ROOT_DIR
+       KERNEL_ROOT_DIR GUI_ROOT_DIR MEDFILE_ROOT_DIR 
+       HDF5_ROOT_DIR OMNIORB_ROOT_DIR PTHREAD_ROOT_DIR
        SWIG_ROOT_DIR PYTHON_ROOT_DIR CPPUNIT_ROOT_DIR GRAPHVIZ_ROOT_DIR DOXYGEN_ROOT_DIR
        SPHINX_ROOT_DIR)
 
index 1a69921e06b6f2b55e8c9a71d72390482672c9ab..dff494ff0fa7e6bbd51b98bce582b7d602029ec1 100644 (file)
@@ -25,6 +25,7 @@ SET(admlocal_cmake_DATA
   FindSalomeParMetis.cmake
   FindScotch.cmake
   FindSalomeScotch.cmake
+  FindSalomeMED.cmake
   )
 
 INSTALL(FILES ${admlocal_cmake_DATA} DESTINATION ${SALOME_INSTALL_CMAKE_LOCAL})