summaryrefslogtreecommitdiffhomepage
path: root/draw
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-08-27 15:44:39 +0200
committerStanislaw Halik <sthalik@misaki.pl>2023-08-27 17:57:30 +0200
commit405c0c4214c48908d8203a8f4d911289211eb909 (patch)
treeac77153e2c07be81a89d708083743ae8f6932e83 /draw
parent364155032c228342e853c8f1661fea0c57f11c15 (diff)
cmake: kill precompiled headers
They only help by 5% at best. Not worth the side effects.
Diffstat (limited to 'draw')
-rw-r--r--draw/CMakeLists.txt6
1 files changed, 0 insertions, 6 deletions
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()