From 6f2ce183f1f8a1691c2f454920f552aebce4bcfb Mon Sep 17 00:00:00 2001 From: ageay Date: Fri, 17 Jan 2014 14:23:40 +0000 Subject: [PATCH] In standalone mode do not include a directory in GUI install. --- SalomeMEDConfig.cmake.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.2