From: michael Date: Wed, 20 Jan 2021 11:38:46 +0000 (+0100) Subject: cpp tests require CPPUNIT X-Git-Tag: V9_7_0~72 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a1192befc90b27804cf07bd623d84b7570416942;p=tools%2Fsolverlab.git cpp tests require CPPUNIT --- diff --git a/CDMATH/tests/CMakeLists.txt b/CDMATH/tests/CMakeLists.txt index 0d5fd88..2dd988d 100755 --- a/CDMATH/tests/CMakeLists.txt +++ b/CDMATH/tests/CMakeLists.txt @@ -41,7 +41,9 @@ IF (CDMATH_WITH_TESTS) ADD_TEST(UnitTestCDMATH TestCDMATH) INSTALL(TARGETS TestCDMATH DESTINATION bin/unit_tests) - ADD_SUBDIRECTORY(cdmath) + if ( ${CPPUNIT_IS_OK} ) + ADD_SUBDIRECTORY(cdmath) + endif( ${CPPUNIT_IS_OK} ) IF (CDMATH_WITH_PYTHON) ADD_SUBDIRECTORY(swig)