From 578963d0d280466665d5440859bb97e3ee8b6b3e Mon Sep 17 00:00:00 2001 From: vsr Date: Mon, 14 Oct 2013 10:40:52 +0000 Subject: [PATCH] Expose missing configuration --- SalomeSMESHConfig.cmake.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/SalomeSMESHConfig.cmake.in b/SalomeSMESHConfig.cmake.in index 0212e3d84..e184a55cd 100644 --- a/SalomeSMESHConfig.cmake.in +++ b/SalomeSMESHConfig.cmake.in @@ -57,6 +57,8 @@ SET(SALOME_SMESH_USE_TBB @SALOME_SMESH_USE_TBB@) # Level 1 prerequisites: SET_AND_CHECK(GEOM_ROOT_DIR_EXP "@PACKAGE_GEOM_ROOT_DIR@") SET_AND_CHECK(MEDFILE_ROOT_DIR_EXP "@PACKAGE_MEDFILE_ROOT_DIR@") +SET_AND_CHECK(CGNS_ROOT_DIR_EXP "@PACKAGE_CGNS_ROOT_DIR@") +SET_AND_CHECK(TBB_ROOT_DIR_EXP "@PACKAGE_TBB_ROOT_DIR@") # Optional level 1 prerequisites: IF(SALOME_SMESH_USE_CGNS) @@ -69,8 +71,8 @@ ENDIF() # For all prerequisites, load the corresponding targets if the package was used # in CONFIG mode. This ensures dependent projects link correctly # without having to set LD_LIBRARY_PATH: -SET(_PREREQ CGNS TBB) -SET(_PREREQ_CONFIG_DIR "@CGNS_DIR@" "@TBB_DIR@" ) +SET(_PREREQ CGNS TBB MEDFile) +SET(_PREREQ_CONFIG_DIR "@CGNS_DIR@" "@TBB_DIR@" "@MEDFile_DIR@") LIST(LENGTH _PREREQ_CONFIG_DIR _list_len) # Another CMake stupidity - FOREACH(... RANGE r) generates r+1 numbers ... MATH(EXPR _range "${_list_len}-1") -- 2.39.2