From: mpa Date: Wed, 13 Nov 2013 12:05:32 +0000 (+0000) Subject: CMake: X-Git-Tag: BR_hydro_v_0_3_1~28 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d99f7ea71c5c5ddafc7807b24136753640f8f3ba;p=modules%2Fgeom.git CMake: - enable cmake testing for have message "No tests were found" if module has not tests --- diff --git a/CMakeLists.txt b/CMakeLists.txt index c4bdf159d..9bebba4c6 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -61,7 +61,7 @@ SET(BUILD_SHARED_LIBS TRUE) # Local macros: LIST(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/adm_local/cmake_files") -# User options defined in KERNEL +# User options # ============ OPTION(SALOME_BUILD_DOC "Generate SALOME GEOM documentation" ON) OPTION(SALOME_BUILD_TESTS "Build SALOME tests" ON) @@ -105,10 +105,7 @@ FIND_PACKAGE(SalomeOmniORBPy REQUIRED) FIND_PACKAGE(SalomeLibXml2 REQUIRED) FIND_PACKAGE(SalomeHDF5 REQUIRED COMPONENTS C) -# Other KERNEL optionals: -IF(SALOME_USE_MPI) - FIND_PACKAGE(SalomeMPI) # needed for doc generation by Sphinx -ENDIF() +# Other KERNEL optionals: IF(SALOME_BUILD_TESTS) ENABLE_TESTING() FIND_PACKAGE(SalomeCppUnit)