From: mpa Date: Wed, 13 Nov 2013 12:18:36 +0000 (+0000) Subject: CMake: X-Git-Tag: V7_3_0a1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d34946bbc3582fdf2ca6d444261e639eb357b5a8;p=modules%2Fhomard.git CMake: - delete kernel dependency because options are local now - enable cmake testing for have message "No tests were found" if module has not tests --- diff --git a/CMakeLists.txt b/CMakeLists.txt index b98c08f2..76be30cd 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -58,11 +58,14 @@ SET(BUILD_SHARED_LIBS TRUE) LIST(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/adm_local/cmake_files") # User options -# (some options have already been defined in KERNEL) # ============ OPTION(SALOME_BUILD_DOC "Generate SALOME HOMARD documentation" ON) OPTION(SALOME_BUILD_TESTS "Build SALOME tests" ON) +IF(SALOME_BUILD_TESTS) + ENABLE_TESTING() +ENDIF() + ## ## From KERNEL: ##