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

Commit7cbd52c

Browse files
rpriest1260glynos
authored andcommitted
The CmakeLists.txt file in the cpp-netlib repository incorrectly sets (#873)
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.
1 parentdab9f51 commit7cbd52c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,11 @@ if (CPP-NETLIB_ENABLE_HTTPS)
6969
endif()
7070
endif()
7171
if (CPP-NETLIB_STATIC_OPENSSL)
72-
set(CMAKE_FIND_LIBRARY_SUFFIXES.a)
72+
if (WIN32)
73+
set(CMAKE_FIND_LIBRARY_SUFFIXES.lib)
74+
else()
75+
set(CMAKE_FIND_LIBRARY_SUFFIXES.a)
76+
endif()
7377
endif()
7478
find_package(OpenSSL)
7579
endif()

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp