CMakeLists.txt: don't precompile stb_ds.h, precompile SDL.h

This commit is contained in:
2024-10-13 18:14:36 +03:00
parent 1a7322dccf
commit f96d521af2
4 changed files with 5 additions and 3 deletions

View File

@ -133,7 +133,7 @@ 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>
third-party/stb/stb_ds.h)
${SDL2_INCLUDE_DIR}/SDL.h)
function(give_options_without_warnings target)