Skip to content

Commit

Permalink
cmake: win include fix for MSYS
Browse files Browse the repository at this point in the history
  • Loading branch information
uliss committed May 6, 2024
1 parent a83cf81 commit 45e50d5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 45e50d5

Please sign in to comment.