From 45e50d5dbcc890e951237ce3fab8fdc4bcb7fb1f Mon Sep 17 00:00:00 2001 From: Serge Poltavski Date: Mon, 6 May 2024 14:26:57 +0300 Subject: [PATCH] cmake: win include fix for MSYS --- cmake/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index 5d2b688547a..5c6927714f9 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -57,6 +57,10 @@ else() add_definitions(-DDEBUG) endif() + if(WIN32) + include_directories(../include/win32) + endif() + # jsonxx raises -Wdollar-in-identifier-extension # gcc 8.3.1 does not like -Wdollar-in-identifier-extension option. add_definitions(-Wall -W -pedantic -Wno-unused-parameter -Wno-dollar-in-identifier-extension)