Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Modernize cmake scripts and support MSVC 2017#834

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
anonimal wants to merge6 commits intocpp-netlib:0.13-release
base:0.13-release
Choose a base branch
Loading
fromanonimal:0.13-release
Open
Changes from2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletionCMakeLists.txt
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -15,6 +15,10 @@ option( CPP-NETLIB_ENABLE_HTTPS "Build cpp-netlib with support for https if Open
option( CPP-NETLIB_STATIC_OPENSSL "Build cpp-netlib using static OpenSSL" OFF)
option( CPP-NETLIB_STATIC_BOOST "Build cpp-netlib using static Boost" OFF)

if (NOT DEFINED CPP-NETLIB_WINAPI_VERSION)
set(CPP-NETLIB_WINAPI_VERSION 0x0501)
endif()

include(GNUInstallDirs)

# determine install path for CMake config files
Expand DownExpand Up@@ -116,7 +120,7 @@ endif()


if (WIN32)
target_compile_definitions(cppnetlib INTERFACE _WIN32_WINNT=0x0501)
target_compile_definitions(cppnetlib INTERFACE _WIN32_WINNT=${CPP-NETLIB_WINAPI_VERSION} BOOST_USE_WINAPI_VERSION=${CPP-NETLIB_WINAPI_VERSION})

if (MSVC)
target_compile_options(cppnetlib INTERFACE /bigobj)
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp