Fix Windows build broken by #7682

This commit is contained in:
Mohamed Oulmahdi 2022-08-15 05:02:46 +02:00
parent ae1fc191f1
commit 7824de5ff4
1 changed files with 1 additions and 0 deletions

View File

@ -69,6 +69,7 @@ if(WIN32)
add_definitions(-DWIN32_LEAN_AND_MEAN)
add_definitions(-D_ITERATOR_DEBUG_LEVEL=0)
add_definitions(-DNOGDI) # WinGDI.h defines macro ERROR
add_definitions(-D_USE_MATH_DEFINES) # Math constants
endif()
if (USE_CCACHE)