diff options
| author | 2023-06-19 17:43:30 +0100 | |
|---|---|---|
| committer | 2023-06-19 18:09:03 +0100 | |
| commit | 7a8d37077aaa2be262747e0b37f10f24ff0af7fe (patch) | |
| tree | f3c5ae0e3922d222b443088d3e80366775b2ca32 /win | |
| parent | Define FD_SETSIZE from CMake on Windows to avoid redef warnings. (diff) | |
Include the vendor directory as a system directory on Windows.
Diffstat (limited to 'win')
| -rw-r--r-- | win/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/win/CMakeLists.txt b/win/CMakeLists.txt index 02a3d41ed..8bffcdec6 100644 --- a/win/CMakeLists.txt +++ b/win/CMakeLists.txt @@ -46,7 +46,8 @@ file(GLOB INSPIRCD_SOURCES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ) list(SORT INSPIRCD_SOURCES) -include_directories("${INSPIRCD_BASE}/win" "${INSPIRCD_BASE}/include" "${INSPIRCD_BASE}/vendor") +include_directories("${INSPIRCD_BASE}/win" "${INSPIRCD_BASE}/include") +include_directories(SYSTEM "${INSPIRCD_BASE}/vendor") if(MSVC) add_library(win32_memory STATIC "${INSPIRCD_BASE}/win/inspircd_memory_functions.cpp") |
