mirror of
https://github.com/OpenMW/openmw.git
synced 2025-11-29 17:34:30 +00:00
Don't treat the repo root as a system include directory
This is a regression from 99ba45a308 (9a2aa4db38d3115ed60da621e012c0efc0172aae_322_319), and caused many of our headers not to generate warnings.
It also combined with MSVC bug https://developercommunity.visualstudio.com/t/Including-a-header-with-pragma-system_h/10968424?port=1025&fsid=327e3050-e79a-41b0-8237-b262a60103e3 to prevent warnings in any TU that includes a CMake-generated precompiled header.
This commit is contained in:
parent
fbb726cee0
commit
7520e86ab3
1 changed files with 1 additions and 1 deletions
|
|
@ -481,8 +481,8 @@ set(SOL_INCLUDE_DIR ${OpenMW_SOURCE_DIR}/extern/sol3)
|
|||
set(SOL_CONFIG_DIR ${OpenMW_SOURCE_DIR}/extern/sol_config)
|
||||
|
||||
include_directories(
|
||||
BEFORE SYSTEM
|
||||
"."
|
||||
BEFORE SYSTEM
|
||||
${MyGUI_INCLUDE_DIRS}
|
||||
${OPENAL_INCLUDE_DIR}
|
||||
${OPENGL_INCLUDE_DIR}
|
||||
|
|
|
|||
Loading…
Reference in a new issue