Skip to content

Commit

Permalink
CMake: Disable UNITY_BUILD for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jschueller committed Sep 27, 2024
1 parent 9519d7a commit cfb1904
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 cfb1904

Please sign in to comment.