Fix websocketpp depending on boost::random (#4869)

Co-authored-by: nerix <nero.9@hotmail.de>
This commit is contained in:
kornes 2023-10-05 10:11:28 +00:00 committed by GitHub
parent 5d5d265ae0
commit 7c8cabaa42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1007,6 +1007,8 @@ if (MSVC)
/wd4505
/wd4100
/wd4267
# Enable updated '__cplusplus' macro - workaround for CMake#18837
/Zc:__cplusplus
)
# Disable min/max macros from Windows.h
target_compile_definitions(${LIBRARY_PROJECT} PUBLIC NOMINMAX)