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_DEBUG_POSTFIX leaking from lib/cpr/opt/curl #53

Open
conradjones opened this issue Mar 9, 2020 · 0 comments
Open

CMAKE_DEBUG_POSTFIX leaking from lib/cpr/opt/curl #53

conradjones opened this issue Mar 9, 2020 · 0 comments

Comments

@conradjones
Copy link

conradjones commented Mar 9, 2020

If and only if you are using the embedded curl from cpr,

these lines leak

lib/zsync2/lib/cpr/opt/curl/tests/libtest/CMakeLists.txt:    PROPERTIES DEBUG_POSTFIX "${CMAKE_DEBUG_POSTFIX}")
lib/zsync2/lib/cpr/opt/curl/src/CMakeLists.txt:  DEBUG_POSTFIX "${CMAKE_DEBUG_POSTFIX}")
lib/zsync2/lib/cpr/opt/curl/CMakeLists.txt:set(CMAKE_DEBUG_POSTFIX "-d" CACHE STRING "Set debug library postfix")
lib/zsync2/lib/cpr/opt/curl/lib/CMakeLists.txt:       DEBUG_POSTFIX "-d"

and hashlib gets suffixed with -d

if you have system curl dev package installed these never get triggered and hashlib is not suffixed with -d

slightly separate point, but why is the lib prefix removed from hashlib ? It makes it tricky to link against.

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

No branches or pull requests

1 participant