]> SALOME platform Git repositories - modules/med.git/commitdiff
Salome HOME
In standalone mode do not include a directory in GUI install.
authorageay <ageay>
Fri, 17 Jan 2014 14:23:40 +0000 (14:23 +0000)
committerageay <ageay>
Fri, 17 Jan 2014 14:23:40 +0000 (14:23 +0000)
SalomeMEDConfig.cmake.in

index 53e6278fcad40ad44172b23e9bcc178d4b736055..5b9ca3e2104b156d9208c0a2ca81b8d5c3f13079 100644 (file)
@@ -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)