From 5798cedeafecc965244a8db7538d7e76c47eac84 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 10 Apr 2023 02:33:37 +0200 Subject: reduce precompiled header bitrot --- draw/CMakeLists.txt | 2 +- draw/precomp.hpp | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) delete mode 100644 draw/precomp.hpp (limited to 'draw') 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" -- cgit v1.2.3