CMakeLists.txt: precompile physfs.h header
This commit is contained in:
parent
f96d521af2
commit
64433cbe18
@ -133,7 +133,8 @@ set_target_properties(${TWN_TARGET} PROPERTIES
|
|||||||
# precompile commonly used not-so-small headers
|
# precompile commonly used not-so-small headers
|
||||||
target_precompile_headers(${TWN_TARGET} PRIVATE
|
target_precompile_headers(${TWN_TARGET} PRIVATE
|
||||||
$<$<NOT:$<BOOL:${EMSCRIPTEN}>>:third-party/glad/include/glad/glad.h>
|
$<$<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)
|
function(give_options_without_warnings target)
|
||||||
|
Loading…
Reference in New Issue
Block a user