]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
-Delete REQUIRED for optional products
authormpa <mpa@opencascade.com>
Mon, 21 Oct 2013 10:48:10 +0000 (10:48 +0000)
committermpa <mpa@opencascade.com>
Mon, 21 Oct 2013 10:48:10 +0000 (10:48 +0000)
CMakeLists.txt

index afa24800cefa6ea82123124a0df2fac7e3dea4fe..04c999c9986a13baf28963e10d60cb38bb7a1ae4 100755 (executable)
@@ -99,13 +99,13 @@ IF(NOT SALOME_LIGHT_ONLY)
 ENDIF() 
 IF(SALOME_BUILD_TESTS)
   ENABLE_TESTING()
-  FIND_PACKAGE(SalomeCppUnit REQUIRED)
+  FIND_PACKAGE(SalomeCppUnit)
   SALOME_LOG_OPTIONAL_PACKAGE(CppUnit SALOME_BUILD_TESTS)  
 ENDIF()
 IF(SALOME_BUILD_DOC)
-  FIND_PACKAGE(SalomeDoxygen REQUIRED)
-  FIND_PACKAGE(SalomeGraphviz REQUIRED)
-  FIND_PACKAGE(SalomeSphinx REQUIRED)
+  FIND_PACKAGE(SalomeDoxygen)
+  FIND_PACKAGE(SalomeGraphviz)
+  FIND_PACKAGE(SalomeSphinx)
   SALOME_LOG_OPTIONAL_PACKAGE(Doxygen SALOME_BUILD_DOC)
   SALOME_LOG_OPTIONAL_PACKAGE(Graphviz SALOME_BUILD_DOC)
   SALOME_LOG_OPTIONAL_PACKAGE(Sphinx SALOME_BUILD_DOC)
@@ -131,16 +131,16 @@ FIND_PACKAGE(SalomePyQt4 REQUIRED)
 
 # Optional prerequisites for GUI
 IF(SALOME_USE_GLVIEWER)
-  FIND_PACKAGE(SalomeOpenGL REQUIRED)
+  FIND_PACKAGE(SalomeOpenGL)
   SALOME_LOG_OPTIONAL_PACKAGE(OpenGL SALOME_USE_GLVIEWER) 
 ENDIF()
 IF(SALOME_USE_VTKVIEWER)
   # Required components are listed in the FindSalomeVTK.cmake file: 
-  FIND_PACKAGE(SalomeVTK 6.0 REQUIRED
+  FIND_PACKAGE(SalomeVTK 6.0) 
   SALOME_LOG_OPTIONAL_PACKAGE(VTK SALOME_USE_VTKVIEWER)
 ENDIF()
 IF(SALOME_USE_PLOT2DVIEWER)
-  FIND_PACKAGE(SalomeQwt REQUIRED)  
+  FIND_PACKAGE(SalomeQwt)  
   SALOME_LOG_OPTIONAL_PACKAGE(Qwt SALOME_USE_PLOT2DVIEWER)
 ENDIF()