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

WIN32\CMAKE_FIND_LIBRARY_SUFFIXES not set properly during CPP-NETLIB_STATIC_OPENSSL build#873

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

Merged
glynos merged 1 commit intocpp-netlib:masterfromrpriest1260:master-integration
May 29, 2019
Merged
Changes fromall 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
The CmakeLists.txt file in the cpp-netlib repository incorrectly sets
the lib suffixes when building with CPP-NETLIB_STATIC_OPENSSL on aWindows Machine. Adding an 'If (WIN32)' condition to properly setCMAKE_FIND_LIBRARY_SUFFIXES to '.lib' on a windows machine.
  • Loading branch information
@rp1260
rp1260 committedMay 28, 2019
commitd50340e62f1ba571be7daee6dd62a960f6e60507
6 changes: 5 additions & 1 deletionCMakeLists.txt
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -69,7 +69,11 @@ if (CPP-NETLIB_ENABLE_HTTPS)
endif()
endif()
if (CPP-NETLIB_STATIC_OPENSSL)
set(CMAKE_FIND_LIBRARY_SUFFIXES .a)
if (WIN32)
set(CMAKE_FIND_LIBRARY_SUFFIXES .lib)
else()
set(CMAKE_FIND_LIBRARY_SUFFIXES .a)
endif()
endif()
find_package(OpenSSL)
endif()
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp