From: vsr Date: Mon, 4 Oct 2021 10:13:47 +0000 (+0300) Subject: Remove cmake warning (incorrect path to tests) X-Git-Tag: V9_8_0a1~14 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1ae1787a61b0d13cc78d34200e9f2513d32ed382;p=modules%2Fshaper.git Remove cmake warning (incorrect path to tests) --- diff --git a/src/ExchangePlugin/Test/CMakeLists.txt b/src/ExchangePlugin/Test/CMakeLists.txt index 6d267d431..2abd05c3f 100755 --- a/src/ExchangePlugin/Test/CMakeLists.txt +++ b/src/ExchangePlugin/Test/CMakeLists.txt @@ -19,7 +19,7 @@ include(tests.set) -ADD_UNIT_TESTS(${TEST_NAMES}) +ADD_UNIT_TESTS_API(${TEST_NAMES}) if(${HAVE_SALOME}) enable_testing() diff --git a/test.API/SHAPER/CMakeLists.txt b/test.API/SHAPER/CMakeLists.txt index a049e5d4d..7c335ba65 100644 --- a/test.API/SHAPER/CMakeLists.txt +++ b/test.API/SHAPER/CMakeLists.txt @@ -21,7 +21,7 @@ INCLUDE(UnitTest) include(tests.set) -ADD_UNIT_TESTS(${TEST_NAMES}) +ADD_UNIT_TESTS_API(${TEST_NAMES}) if(${HAVE_SALOME}) enable_testing() @@ -31,6 +31,5 @@ if(${HAVE_SALOME}) DESTINATION ${TEST_INSTALL_DIRECTORY} RENAME CTestTestfile.cmake) install(FILES tests.set DESTINATION ${TEST_INSTALL_DIRECTORY}) - message(${TEST_NAMES}) install(FILES ${TEST_NAMES} DESTINATION ${TEST_INSTALL_DIRECTORY}) endif(${HAVE_SALOME})