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 67651e4 commit d3fc77eCopy full SHA for d3fc77e
math/CMakeLists.txt
@@ -8,12 +8,11 @@ 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)
15
endif()
16
- add_test(${testname}_test ${testname})
+ add_test(${testname} ${testname})
17
install(TARGETS ${testname} DESTINATION "bin/math")
18
19
endforeach(testsourcefile ${APP_SOURCES})
0 commit comments