From 1ae1787a61b0d13cc78d34200e9f2513d32ed382 Mon Sep 17 00:00:00 2001 From: vsr Date: Mon, 4 Oct 2021 13:13:47 +0300 Subject: [PATCH] Remove cmake warning (incorrect path to tests) --- src/ExchangePlugin/Test/CMakeLists.txt | 2 +- test.API/SHAPER/CMakeLists.txt | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) 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}) -- 2.39.2