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()
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)