mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 12:24:19 +00:00
_WIN32_WINNT drove nuts 64 bit MSVC builds
TODO: figure out why
This commit is contained in:
parent
33494c4f4b
commit
abdef67ccc
@ -95,7 +95,7 @@ endif ()
|
|||||||
|
|
||||||
# compiler flags customization (by vendor)
|
# compiler flags customization (by vendor)
|
||||||
if (MSVC)
|
if (MSVC)
|
||||||
add_definitions( -D_WIN32_WINNT=_WIN32_WINNT_WINXP -DWIN32_LEAN_AND_MEAN -DNOMINMAX ) #-DOPENSSL_NO_SSL2 -DOPENSSL_USE_DEPRECATED
|
add_definitions( -DWIN32_LEAN_AND_MEAN -DNOMINMAX )
|
||||||
# TODO Check & report to Boost dev, there should be no need for these two
|
# TODO Check & report to Boost dev, there should be no need for these two
|
||||||
add_definitions( -DBOOST_THREAD_NO_LIB -DBOOST_CHRONO_NO_LIB )
|
add_definitions( -DBOOST_THREAD_NO_LIB -DBOOST_CHRONO_NO_LIB )
|
||||||
set( CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /GL" )
|
set( CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /GL" )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user