Skip to content

Conversation

@btolfa
Copy link

@btolfa btolfa commented Apr 3, 2018

I've added CPP-NETLIB_WINAPI_VERSION cmake options.

This option allows us to setup _WIN32_WINNT definition value from cmake command line
Default value is 0x0501 (_WIN32_WINNT_WINXP)
https://docs.microsoft.com/en-us/cpp/porting/modifying-winver-and-win32-winnt

This option allows to solve linking issues with Boost::Log on Windows

For example, binaries for windows published on www.boost.org are built with _WIN32_WINNT > 0x0600.

This option allows us to setup _WIN32_WINNT definition value
from cmake command line
Default value is 0x0501 (_WIN32_WINNT_WINXP)
https://docs.microsoft.com/en-us/cpp/porting/modifying-winver-and-win32-winnt
@anonimal anonimal merged commit 48bbadb into anonimal:0.13-release Apr 3, 2018
anonimal added a commit that referenced this pull request Apr 3, 2018
48bbadb Build: Add cmake option CPP-NETLIB_WINAPI_VERSION (Tengiz Sharafiev)
@btolfa btolfa deleted the winapi_version_option branch April 3, 2018 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants