diff --git a/tests/unit/CMakeLists.txt b/tests/unit/CMakeLists.txt index 1a611a0bb..3dd430bb5 100644 --- a/tests/unit/CMakeLists.txt +++ b/tests/unit/CMakeLists.txt @@ -22,13 +22,10 @@ target_include_directories(test_geos_unit PRIVATE $) -# Precompile TUT when using gcc -# Some clang and MSVC CI configurations complain about the combination of -# PCH and -O1 -if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.16") - target_precompile_headers(test_geos_unit PRIVATE - "$<$:${CMAKE_CURRENT_LIST_DIR}/tut/tut.hpp>") -endif() +# Precompile TUT +#if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.16") +# target_precompile_headers(test_geos_unit PRIVATE "${CMAKE_CURRENT_LIST_DIR}/tut/tut.hpp") +#endif() file(GLOB_RECURSE _testfiles ${CMAKE_CURRENT_LIST_DIR}/**/*Test.cpp CONFIGURE_DEPEND) foreach(_testfile ${_testfiles})