Skip to content

Commit cfb1904

Browse files
committed
CMake: Disable UNITY_BUILD for tests
1 parent 9519d7a commit cfb1904

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ function(ADD_PAGMO_TESTCASE arg1)
2020
# Set the minimum C++ standard to C++17
2121
target_compile_features(${arg1} PRIVATE cxx_std_17)
2222
set_property(TARGET ${arg1} PROPERTY CXX_EXTENSIONS NO)
23+
set_property(TARGET ${arg1} PROPERTY UNITY_BUILD OFF)
2324
target_compile_definitions(${arg1} PRIVATE BOOST_ALLOW_DEPRECATED_HEADERS)
2425
add_test(NAME ${arg1} COMMAND ${arg1})
2526
endfunction()

0 commit comments

Comments
 (0)