]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Remove cmake warning (incorrect path to tests)
authorvsr <vsr@opencascade.com>
Mon, 4 Oct 2021 10:13:47 +0000 (13:13 +0300)
committervsr <vsr@opencascade.com>
Mon, 4 Oct 2021 10:13:47 +0000 (13:13 +0300)
src/ExchangePlugin/Test/CMakeLists.txt
test.API/SHAPER/CMakeLists.txt

index 6d267d4310cf7cd43d7c08976e10bf2a4517a50d..2abd05c3f4cda81fe614842f8c386922a5892e23 100755 (executable)
@@ -19,7 +19,7 @@
 
 include(tests.set)
 
-ADD_UNIT_TESTS(${TEST_NAMES})
+ADD_UNIT_TESTS_API(${TEST_NAMES})
 
 if(${HAVE_SALOME})
   enable_testing()
index a049e5d4d22d36abcee67e75bfb50f21e3c021b1..7c335ba6531929adf73129281666cdced6aaeb74 100644 (file)
@@ -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})