summaryrefslogtreecommitdiffhomepage
path: root/draw
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-04-10 02:33:37 +0200
committerStanislaw Halik <sthalik@misaki.pl>2023-04-10 02:35:17 +0200
commit5798cedeafecc965244a8db7538d7e76c47eac84 (patch)
tree77118ece2cb43c402e43e21e0b6238ce1efec732 /draw
parent3dff574d59aba28ceda955c7a4d92b53387d2173 (diff)
reduce precompiled header bitrot
Diffstat (limited to 'draw')
-rw-r--r--draw/CMakeLists.txt2
-rw-r--r--draw/precomp.hpp2
2 files changed, 1 insertions, 3 deletions
diff --git a/draw/CMakeLists.txt b/draw/CMakeLists.txt
index a4be3c13..843a6cc3 100644
--- a/draw/CMakeLists.txt
+++ b/draw/CMakeLists.txt
@@ -3,5 +3,5 @@ file(GLOB sources "*.cpp" CONFIGURE_ARGS)
add_library(${self} OBJECT "${sources}")
target_link_libraries(${self} PUBLIC Magnum::GL)
if(FLOORMAT_PRECOMPILED-HEADERS)
- target_precompile_headers(${self} PRIVATE precomp.hpp)
+ target_precompile_headers(${self} REUSE_FROM floormat)
endif()
diff --git a/draw/precomp.hpp b/draw/precomp.hpp
deleted file mode 100644
index 0b357722..00000000
--- a/draw/precomp.hpp
+++ /dev/null
@@ -1,2 +0,0 @@
-#pragma once
-#include "../src/precomp.hpp"