From d34946bbc3582fdf2ca6d444261e639eb357b5a8 Mon Sep 17 00:00:00 2001 From: mpa Date: Wed, 13 Nov 2013 12:18:36 +0000 Subject: [PATCH] CMake: - delete kernel dependency because options are local now - enable cmake testing for have message "No tests were found" if module has not tests --- CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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: ## -- 2.39.2