Skip to content

Commit 2fa13a8

Browse files
committed
cmake: add cpp test to build_tests target
1 parent 3483e73 commit 2fa13a8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ macro(proxsuite_test name path)
2525
target_link_libraries(test-cpp-${name} proxsuite doctest proxsuite-test-util)
2626
target_compile_definitions(test-cpp-${name}
2727
PRIVATE PROBLEM_PATH="${CMAKE_CURRENT_SOURCE_DIR}")
28+
add_dependencies(build_tests test-cpp-${name})
2829
endmacro()
2930

3031
proxsuite_test(dense_ruiz_equilibration src/dense_ruiz_equilibration.cpp)

0 commit comments

Comments
 (0)