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

Don't install SFML when installing the project #28

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

Conversation

JonnyPtn
Copy link

@JonnyPtn JonnyPtn commented Nov 7, 2023

Just a case of adding the subdirectory with EXCLUDE_FROM_ALL. In cmake 3.28 you can pass this property directly to fetchcontent which is nicer but presume we're a way off using that version

Also had to change the fetch content name to lowercase, which is required for the source/binary dir variables to work correctly and is good practice anyway.

closes #6

edit: bonus side-effect of users not having to build sfml modules they aren't using

@eXpl0it3r eXpl0it3r added the bug Something isn't working label Nov 8, 2023
Copy link
Member

@eXpl0it3r eXpl0it3r left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe it makes sense, as it otherwise makes the install target kind of unusable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Installing the target also installs SFML files
2 participants