CMakeLists.txt: precompile physfs.h header

This commit is contained in:
veclav talica 2024-10-13 18:17:32 +03:00
parent f96d521af2
commit 64433cbe18

View File

@ -133,7 +133,8 @@ set_target_properties(${TWN_TARGET} PROPERTIES
# precompile commonly used not-so-small headers
target_precompile_headers(${TWN_TARGET} PRIVATE
$<$<NOT:$<BOOL:${EMSCRIPTEN}>>: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)