]> SALOME platform Git repositories - tools/solverlab.git/commitdiff
Salome HOME
cpp tests require CPPUNIT
authormichael <michael@localhost.localdomain>
Wed, 20 Jan 2021 11:38:46 +0000 (12:38 +0100)
committermichael <michael@localhost.localdomain>
Wed, 20 Jan 2021 11:38:46 +0000 (12:38 +0100)
CDMATH/tests/CMakeLists.txt

index 0d5fd884334ae77b76976d1e672d2087354bba3b..2dd988d4f8283c08abce4f76b75a9a249b549349 100755 (executable)
@@ -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)