From 64433cbe1885120fe89b59ac1e915cd9b8fd9681 Mon Sep 17 00:00:00 2001 From: veclavtalica Date: Sun, 13 Oct 2024 18:17:32 +0300 Subject: [PATCH] CMakeLists.txt: precompile physfs.h header --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 69112f8..44bcedf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -133,7 +133,8 @@ set_target_properties(${TWN_TARGET} PROPERTIES # precompile commonly used not-so-small headers target_precompile_headers(${TWN_TARGET} PRIVATE $<$>:third-party/glad/include/glad/glad.h> - ${SDL2_INCLUDE_DIR}/SDL.h) + ${SDL2_INCLUDE_DIR}/SDL.h + third-party/physfs/src/physfs.h) function(give_options_without_warnings target)