From 405c0c4214c48908d8203a8f4d911289211eb909 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 27 Aug 2023 15:44:39 +0200 Subject: cmake: kill precompiled headers They only help by 5% at best. Not worth the side effects. --- draw/CMakeLists.txt | 6 ------ 1 file changed, 6 deletions(-) (limited to 'draw') diff --git a/draw/CMakeLists.txt b/draw/CMakeLists.txt index f12604ab..2c12289d 100644 --- a/draw/CMakeLists.txt +++ b/draw/CMakeLists.txt @@ -2,9 +2,3 @@ set(self floormat-draw) file(GLOB sources "*.cpp" CONFIGURE_ARGS) add_library(${self} OBJECT "${sources}") target_link_libraries(${self} PUBLIC Magnum::GL) - -if(NOT MSVC) - target_precompile_headers(${self} REUSE_FROM floormat) -else() - target_precompile_headers(${self} PRIVATE ../src/precomp.hpp) -endif() -- cgit v1.2.3