From f30fa8f909e4988fd1179b34bfb42a51f3d73ee5 Mon Sep 17 00:00:00 2001 From: Ilya Andreev Date: Thu, 10 Oct 2024 23:30:03 +0300 Subject: [PATCH] Do not use unity build (#130) According to [CMake documentation](https://cmake.org/cmake/help/latest/prop_tgt/UNITY_BUILD.html#prop_tgt:UNITY_BUILD), UNITY_BUILD property should not be set by the project --- src/CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 04d23fe..edf363d 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -7,7 +7,6 @@ target_link_libraries(${PROJECT_NAME} PUBLIC std::filesystem) set_target_properties(${PROJECT_NAME} PROPERTIES EXPORT_NAME ${PROJECT_NAME} - UNITY_BUILD ON CXX_EXTENSIONS OFF CXX_VISIBILITY_PRESET hidden VISIBILITY_INLINES_HIDDEN ON