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 library version? #194

Open
zvezdochiot opened this issue Jan 2, 2022 · 1 comment
Open

CMake library version? #194

zvezdochiot opened this issue Jan 2, 2022 · 1 comment
Labels
build enhancement New feature or request

Comments

@zvezdochiot
Copy link

zvezdochiot commented Jan 2, 2022

Hi all.

libspng/CMakeLists.txt

Lines 33 to 34 in 0e4b64a

add_library(spng SHARED ${spng_SOURCES})
target_link_libraries(spng ${spng_LIBS})

Maybe add?:

set(SPNG_VERSION ${SPNG_MAJOR}.${SPNG_MINOR}.${SPNG_REVISION})
set_target_properties(spng PROPERTIES VERSION ${SPNG_VERSION} SOVERSION ${SPNG_MAJOR})
@randy408 randy408 added build enhancement New feature or request labels Jan 5, 2022
@randy408
Copy link
Owner

If this would change the produced filename this would have to be delayed until at least the next minor release or 1.0.

@randy408 randy408 changed the title Library version? CMake library version? Jan 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants