From: ageay Date: Fri, 17 Jan 2014 14:23:40 +0000 (+0000) Subject: In standalone mode do not include a directory in GUI install. X-Git-Tag: V7_3_1b1^2~21 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6f2ce183f1f8a1691c2f454920f552aebce4bcfb;p=modules%2Fmed.git In standalone mode do not include a directory in GUI install. --- diff --git a/SalomeMEDConfig.cmake.in b/SalomeMEDConfig.cmake.in index 53e6278fc..5b9ca3e21 100644 --- a/SalomeMEDConfig.cmake.in +++ b/SalomeMEDConfig.cmake.in @@ -127,7 +127,7 @@ SET(SALOME_INSTALL_RES "@SALOME_INSTALL_RES@") IF(SALOME_MED_BUILD_GUI) # Include GUI targets if they were not already loaded: - IF(NOT (TARGET Event)) + IF(NOT (TARGET Event) AND NOT SALOME_MED_STANDALONE) INCLUDE("${GUI_ROOT_DIR_EXP}/${SALOME_INSTALL_CMAKE_LOCAL}/SalomeGUITargets.cmake") ENDIF() ELSE(SALOME_MED_BUILD_GUI)