Salome HOME
Various improvements:
[modules/paravis.git] / SalomePARAVISConfig.cmake.in
index bab2f29e60387e6450d155426d880a72e54361e0..07fe64e2325940bb6c559af84104464729ffe56f 100644 (file)
@@ -30,7 +30,7 @@
 # Load the dependencies for the libraries of @PROJECT_NAME@ 
 # (contains definitions for IMPORTED targets). This is only 
 # imported if we are not built as a subproject (in this case targets are already there)
-IF(NOT TARGET Event AND NOT @PROJECT_NAME@_BINARY_DIR)
+IF(NOT TARGET PARAVIS AND NOT @PROJECT_NAME@_BINARY_DIR)
   INCLUDE("@PACKAGE_SALOME_INSTALL_CMAKE_LOCAL@/@PROJECT_NAME@Targets.cmake")
 ENDIF()   
 
@@ -50,7 +50,7 @@ SET(PARAVIS_DEFINITIONS "@GUI_DEFINITIONS@")
 # Options exported by the package:
 SET(SALOME_PARAVIS_BUILD_DOC   @SALOME_BUILD_DOC@)
 SET(SALOME_PARAVIS_BUILD_TESTS @SALOME_BUILD_TESTS@)
-SET(SALOME_LIGHT_ONLY  @SALOME_LIGHT_ONLY@)
+SET(SALOME_PARAVIS_LIGHT_ONLY  @SALOME_LIGHT_ONLY@)
 
 # Advanced options
 SET(SALOME_USE_OCCVIEWER    @SALOME_USE_OCCVIEWER@)
@@ -132,3 +132,5 @@ ENDIF()
 SET(PARAVIS_SalomeIDLPARAVIS SalomeIDLPARAVIS)
 SET(PARAVIS_PARAVIS PARAVIS)
 SET(PARAVIS_PARAVISEngine PARAVISEngine)
+SET(PARAVIS_PVViewer PVViewer)
+