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 target property OUTPUT_NAME when building linux static lib. #1024

Closed
timrulebosch opened this issue Nov 30, 2021 · 2 comments
Closed

Comments

@timrulebosch
Copy link

When using the CMakeLists.txt to build a Linux static library the output filename is libhiredis_static.a rather than the normally expected libhiredis.a.

That could be adjusted with the following snippet (at the location indicated below):

IF(UNIX)
    SET_TARGET_PROPERTIES(hiredis_static
        PROPERTIES
            OUTPUT_NAME hiredis
    )
ENDIF()

SET_TARGET_PROPERTIES(hiredis_static

@bjosv
Copy link
Contributor

bjosv commented Sep 5, 2022

I believe this issue can be closed due to the merged #1057.

@timrulebosch
Copy link
Author

Yes, thanks.

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

2 participants