CMAKE_DEPENDENT_OPTION(SALOME_LIGHT_ONLY "Build SALOME Light only (no CORBA)" OFF
"NOT SALOME_KERNEL_LIGHT_ONLY" ON)
-IF(SALOME_BUILD_TESTS)
- ENABLE_TESTING()
- FIND_PACKAGE(SalomeCppUnit)
- SALOME_LOG_OPTIONAL_PACKAGE(CppUnit SALOME_BUILD_TESTS)
-ENDIF()
-
# Prerequisites
# =============
# Find "big" prerequisites first - they reference themselves many others
or SALOME_PARAVIS_USE_SMESH_SOURCE=OFF")
ENDIF()
+IF(SALOME_BUILD_TESTS)
+ ENABLE_TESTING()
+ FIND_PACKAGE(SalomeCppUnit)
+ SALOME_LOG_OPTIONAL_PACKAGE(CppUnit SALOME_BUILD_TESTS)
+ENDIF()
+
## Detection summary:
SALOME_PACKAGE_REPORT_AND_CHECK()