diff --git a/src/tests/src/solver/infeasible-problem-analysis/CMakeLists.txt b/src/tests/src/solver/infeasible-problem-analysis/CMakeLists.txt index 782ee32e33..63d57d003d 100644 --- a/src/tests/src/solver/infeasible-problem-analysis/CMakeLists.txt +++ b/src/tests/src/solver/infeasible-problem-analysis/CMakeLists.txt @@ -8,4 +8,11 @@ target_link_libraries(test-unfeasible-problem-analyzer infeasible_problem_analysis ) +# TODO: this is awful, we should not need this, but rely only on target_link_libaries instead +copy_dependency(sirius_solver test-unfeasible-problem-analyzer) + add_test(NAME test-unfeasible-problem-analyzer COMMAND test-unfeasible-problem-analyzer) + +# Storing the executable under the folder Unit-tests in Visual Studio +set_target_properties(test-unfeasible-problem-analyzer PROPERTIES FOLDER Unit-tests) +set_property(TEST test-unfeasible-problem-analyzer PROPERTY LABELS unit)