Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmake: set CURL_STATICLIB for static lib when SHARE_LIB_OBJECT=OFF #15695

Closed
wants to merge 1 commit into from

Conversation

chemodax
Copy link
Contributor

@chemodax chemodax commented Dec 5, 2024

CMake: when compiled with BUILD_STATIC_LIBS=ON and SHARE_LIB_OBJECT=OFF compile definition CURL_STATICLIB was not set for static library. It seems to be copy-paste error in the lib/CMakeLists.txt.

This pull request fixes it.

@vszakats vszakats changed the title CMake: Correctly set CURL_STATICLIB when building static lib. cmake: set CURL_STATICLIB for static lib when SHARE_LIB_OBJECT=OFF Dec 5, 2024
@vszakats vszakats added the Windows Windows-specific label Dec 5, 2024
@vszakats vszakats closed this in b6aecd4 Dec 5, 2024
@vszakats
Copy link
Member

vszakats commented Dec 5, 2024

Thank you, good catch, merged!

@chemodax chemodax deleted the patch-1 branch December 5, 2024 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

2 participants