forked from pool/NumCpp
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/NumCpp?expand=0&rev=14
28 lines
1001 B
Diff
28 lines
1001 B
Diff
---
|
|
test/cppcheck/CMakeLists.txt | 3 +++
|
|
test/multiple/CMakeLists.txt | 3 +++
|
|
2 files changed, 6 insertions(+)
|
|
|
|
Index: NumCpp-Version_2.13.0/test/multiple/CMakeLists.txt
|
|
===================================================================
|
|
--- NumCpp-Version_2.13.0.orig/test/multiple/CMakeLists.txt
|
|
+++ NumCpp-Version_2.13.0/test/multiple/CMakeLists.txt
|
|
@@ -18,3 +18,6 @@ target_include_directories(${TARGET_NAME
|
|
target_link_libraries(${TARGET_NAME} PRIVATE
|
|
${ALL_INTERFACE_TARGET}
|
|
)
|
|
+
|
|
+add_test(NAME ${TARGET_NAME}
|
|
+ COMMAND ${TARGET_NAME})
|
|
Index: NumCpp-Version_2.13.0/test/cppcheck/CMakeLists.txt
|
|
===================================================================
|
|
--- NumCpp-Version_2.13.0.orig/test/cppcheck/CMakeLists.txt
|
|
+++ NumCpp-Version_2.13.0/test/cppcheck/CMakeLists.txt
|
|
@@ -11,3 +11,6 @@ target_include_directories(${TARGET_NAME
|
|
target_link_libraries(${TARGET_NAME} PRIVATE
|
|
${ALL_INTERFACE_TARGET}
|
|
)
|
|
+
|
|
+add_test(NAME ${TARGET_NAME}
|
|
+ COMMAND ${TARGET_NAME})
|