# Exception: LibBatch is optional but is loaded first, as it can
# give Python, Pthread and SWIG:
IF(SALOME_USE_LIBBATCH)
- FIND_PACKAGE(SalomeLibBatch)
+ FIND_PACKAGE(SalomeLibBatch REQUIRED)
SALOME_LOG_OPTIONAL_PACKAGE(LibBatch SALOME_USE_LIBBATCH)
ENDIF()
# ======================
IF(SALOME_USE_SIMAN)
- FIND_PACKAGE(SalomeSIMANIO)
+ FIND_PACKAGE(SalomeSIMANIO REQUIRED)
SALOME_LOG_OPTIONAL_PACKAGE(SIMANIO SALOME_USE_SIMAN)
ADD_DEFINITIONS(-DWITH_SIMANIO)
ENDIF()
ENDIF()
IF(SALOME_BUILD_TESTS)
ENABLE_TESTING()
- FIND_PACKAGE(SalomeCppUnit)
+ FIND_PACKAGE(SalomeCppUnit REQUIRED)
SALOME_LOG_OPTIONAL_PACKAGE(CppUnit SALOME_BUILD_TESTS)
ENDIF()
IF(SALOME_BUILD_DOC)
- FIND_PACKAGE(SalomeDoxygen)
- FIND_PACKAGE(SalomeGraphviz)
- FIND_PACKAGE(SalomeSphinx)
+ FIND_PACKAGE(SalomeDoxygen REQUIRED)
+ FIND_PACKAGE(SalomeGraphviz REQUIRED)
+ FIND_PACKAGE(SalomeSphinx REQUIRED)
SALOME_LOG_OPTIONAL_PACKAGE(Doxygen SALOME_BUILD_DOC)
SALOME_LOG_OPTIONAL_PACKAGE(Graphviz SALOME_BUILD_DOC)
SALOME_LOG_OPTIONAL_PACKAGE(Sphinx SALOME_BUILD_DOC)
# @PROJECT_NAME_UC@_ROOT_DIR_EXP - the root path of the installation providing this CMake file
#
# Other stuff specific to this package:
-# SALOME_USE_MPI -
-# SALOME_BUILD_DOC -
-# SALOME_BUILD_TESTS -
-# SALOME_LIGHT_ONLY -
+# SALOME_USE_MPI - ON if KERNEL is built with MPI support
+# SALOME_KERNEL_BUILD_DOC - ON if documentation for KERNEL module has been built
+# SALOME_KERNEL_BUILD_TESTS - ON if tests for KERNEL module has been built
+# SALOME_LIGHT_ONLY - ON if SALOME is built in Light mode (no CORBA)
###############################################################
# Copyright (C) 2007-2013 CEA/DEN, EDF R&D, OPEN CASCADE
LIST(APPEND KERNEL_DEFINITIONS "@MPI_DEFINITIONS@")
ENDIF()
-SET(SALOME_BUILD_DOC @SALOME_BUILD_DOC@)
-SET(SALOME_BUILD_TESTS @SALOME_BUILD_TESTS@)
+SET(SALOME_KERNEL_BUILD_DOC @SALOME_BUILD_DOC@)
+SET(SALOME_KERNEL_BUILD_TESTS @SALOME_BUILD_TESTS@)
SET(SALOME_LIGHT_ONLY @SALOME_LIGHT_ONLY@)
SET(SALOME_USE_LIBBATCH @SALOME_USE_LIBBATCH@)