We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 901f231 commit 7c7a915Copy full SHA for 7c7a915
math/CMakeLists.txt
@@ -8,7 +8,7 @@ foreach( testsourcefile ${APP_SOURCES} )
8
# I used a simple string replace, to cut off .cpp.
9
string( REPLACE ".cpp" "" testname ${testsourcefile} )
10
add_executable( ${testname} ${testsourcefile} )
11
-
+ add_test(NAME ${testname} COMMAND ${testname})
12
set_target_properties(${testname} PROPERTIES LINKER_LANGUAGE CXX)
13
if(OpenMP_CXX_FOUND)
14
target_link_libraries(${testname} OpenMP::OpenMP_CXX)
0 commit comments