aboutsummaryrefslogtreecommitdiff
path: root/win
diff options
context:
space:
mode:
authorGravatar Sadie Powell2023-06-19 17:43:30 +0100
committerGravatar Sadie Powell2023-06-19 18:09:03 +0100
commit7a8d37077aaa2be262747e0b37f10f24ff0af7fe (patch)
treef3c5ae0e3922d222b443088d3e80366775b2ca32 /win
parentDefine 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.txt3
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")