Skip to content

Commit

Permalink
Merge pull request #581 from jschueller/unity2
Browse files Browse the repository at this point in the history
CMake: Disable UNITY_BUILD for tests
  • Loading branch information
bluescarni authored Oct 8, 2024
2 parents 9519d7a + cfb1904 commit 987a062
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ function(ADD_PAGMO_TESTCASE arg1)
# Set the minimum C++ standard to C++17
target_compile_features(${arg1} PRIVATE cxx_std_17)
set_property(TARGET ${arg1} PROPERTY CXX_EXTENSIONS NO)
set_property(TARGET ${arg1} PROPERTY UNITY_BUILD OFF)
target_compile_definitions(${arg1} PRIVATE BOOST_ALLOW_DEPRECATED_HEADERS)
add_test(NAME ${arg1} COMMAND ${arg1})
endfunction()
Expand Down

0 comments on commit 987a062

Please sign in to comment.