]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
CMake: Fix export of gui prerequisites root dirs
authormpa <mpa@opencascade.com>
Wed, 23 Oct 2013 10:49:53 +0000 (10:49 +0000)
committermpa <mpa@opencascade.com>
Wed, 23 Oct 2013 10:49:53 +0000 (10:49 +0000)
SalomeGEOMConfig.cmake.in

index b15d963620741992d6b5e204f8d34e28672ac28a..744464d95f213b781cd4e3f8de0a6cbc876617f3 100644 (file)
@@ -62,7 +62,7 @@ SET_AND_CHECK(CAS_ROOT_DIR_EXP "@PACKAGE_CAS_ROOT_DIR@")
 SET_AND_CHECK(VTK_ROOT_DIR_EXP "@PACKAGE_VTK_ROOT_DIR@")
 
 # Optional level 1 prerequisites:
-IF(SALOME_BUILD_GUI)
+IF(SALOME_GEOM_BUILD_GUI)
   SET_AND_CHECK(GUI_ROOT_DIR_EXP "@PACKAGE_GUI_ROOT_DIR@")
   LIST(APPEND GEOM_DEFINITIONS   "@GUI_DEFINITIONS@")
 ENDIF()
@@ -107,17 +107,17 @@ SET(SALOME_INSTALL_RES "@SALOME_INSTALL_RES@")
 SET(SALOME_INSTALL_DOC "@SALOME_INSTALL_DOC@")
 SET(SALOME_INSTALL_AMCONFIG_LOCAL "@SALOME_INSTALL_AMCONFIG_LOCAL@")
 
-IF(SALOME_BUILD_GUI) 
+IF(SALOME_GEOM_BUILD_GUI) 
   # Include GUI targets if they were not already loaded:
   IF(NOT (TARGET Event)) 
     INCLUDE("${GUI_ROOT_DIR_EXP}/${SALOME_INSTALL_CMAKE_LOCAL}/SalomeGUITargets.cmake")
   ENDIF()
-ELSE(SALOME_BUILD_GUI) 
+ELSE(SALOME_GEOM_BUILD_GUI) 
   # Include KERNEL targets if they were not already loaded:
   IF(NOT (TARGET SALOMEBasics) AND NOT SALOME_MED_STANDALONE) 
     INCLUDE("${KERNEL_ROOT_DIR_EXP}/${SALOME_INSTALL_CMAKE}/SalomeKERNELTargets.cmake")
   ENDIF()
-ENDIF(SALOME_BUILD_GUI)
+ENDIF(SALOME_GEOM_BUILD_GUI)
 
 # Exposed GEOM targets:
 SET(GEOM_GEOMArchimede GEOMArchimede)