Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
fweik authored Sep 21, 2023
1 parent 357da03 commit 3a26f0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ foreach(TEST_SRC ${TEST_SRCS})
message(STATUS "Adding test ${TEST_NAME} in ${TEST_SRC}")

add_executable(${TEST_NAME} ${TEST_SRC})
target_link_libraries(${TEST_NAME} main_test nrng::nrng)
target_link_libraries(${TEST_NAME} main_test nrng)

add_test(NAME ${TEST_NAME} COMMAND "$<TARGET_FILE:${TEST_NAME}>")
endforeach()

0 comments on commit 3a26f0e

Please sign in to comment.