8000 Link tests to static libgd if only that had been built by cmb69 · Pull Request #939 · libgd/libgd · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Link tests to static libgd if only that had been built #939

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cmb69
Copy link
Member
@cmb69 cmb69 commented Jan 7, 2025

Otherwise linking of the test will fail. Cf.

libgd/src/CMakeLists.txt

Lines 161 to 165 in 239cca9

if (BUILD_SHARED_LIBS)
target_link_libraries(${program} ${GD_LIB})
else()
target_link_libraries(${program} ${GD_LIB_STATIC})
endif()
.

@cmb69 cmb69 force-pushed the cmb/tests-static branch from f9182cd to c07cf36 Compare January 9, 2025 12:50
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

Successfully merging this pull request may close these issues.

1 participant
0