diff --git a/cmake/vendor.cmake b/cmake/vendor.cmake index a9152759..b66e286d 100644 --- a/cmake/vendor.cmake +++ b/cmake/vendor.cmake @@ -8,6 +8,10 @@ if (EXISTS ${ROOT_DIR}/vcpkg_installed/x64-windows-static/lib/pkgconfig) set(ENV{PKG_CONFIG_PATH} "${ROOT_DIR}/vcpkg_installed/x64-windows-static/lib/pkgconfig") endif() +if(WIN32) + add_definitions(-DNOMINMAX) +endif() + # Dependencies are taken from the system first and if not found, they are pulled with CPM and built from source include(FindPkgConfig)