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

Change KTX_FEATURE_STATIC_LIBRARY to BUILD_SHARED_LIBS #953

Merged
merged 1 commit into from
Oct 28, 2024

Conversation

UX3D-haertl
Copy link
Contributor

@UX3D-haertl UX3D-haertl commented Oct 25, 2024

This changes KTX_FEATURE_STATIC_LIBRARY to the inbuild cmake variable BUILD_SHARED_LIBS
Static builds are enforced for fmt and astc-encoder.
Both library use BUILD_SHARED_LIBS themself, so this fixes issues if KTX-Software is used as dependecy in other projects (which set BUILD_SHARED_LIBS)

Fixes #935

@CLAassistant
Copy link

CLAassistant commented Oct 25, 2024

CLA assistant check
All committers have signed the CLA.

@MarkCallow MarkCallow merged commit 970bef3 into KhronosGroup:main Oct 28, 2024
17 checks passed
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.

Use BUILD_SHARED_LIBS instead of KTX_FEATURE_STATIC_LIBRARY
3 participants