]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
CMake: improved reloading of dependent CMake targets in Config file to
authorbruneton <bruneton>
Mon, 4 Nov 2013 09:01:48 +0000 (09:01 +0000)
committerbruneton <bruneton>
Mon, 4 Nov 2013 09:01:48 +0000 (09:01 +0000)
account for COMPONENTS.

CMakeLists.txt

index 13105ef33952ceb3438635b58b894bd8ab393a22..f3dfd0af50675618fd7a23c03ad4cdea8a1070c0 100644 (file)
@@ -346,6 +346,11 @@ SET(XDR_ROOT_DIR "${XDR_ROOT_DIR}")
 #       Get the relative path of the include directory so 
 #       we can register it in the generated configuration files:
 SET(CONF_INCLUDE_DIRS "${CMAKE_INSTALL_PREFIX}/${INSTALL_INCLUDE_DIR}")
+
+# Build variables that will be expanded when configuring Salome<MODULE>Config.cmake:
+SALOME_CONFIGURE_PREPARE(Metis ParMetis Scotch XDR CAS Qt4 CppUnit Graphviz Doxygen Sphinx MPI omniORB 
+                         PThread Boost libXml2 Python HDF5 MEDFile)
+
 CONFIGURE_PACKAGE_CONFIG_FILE(${PROJECT_NAME}Config.cmake.in 
     ${PROJECT_BINARY_DIR}/to_install/${PROJECT_NAME}Config.cmake
     INSTALL_DESTINATION "${SALOME_INSTALL_CMAKE}_LOCAL"