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

Allow cmake tarball archive to be disabled #62

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

Conversation

mattparks
Copy link
Contributor

No description provided.

@icculus
Copy link
Owner

icculus commented Jul 12, 2023

Is this because you want to use the CMake project in a subdirectory of a larger project, and having a target named "dist" is causing problems?

Honestly, since releases are just tagged in git and GitHub does the actual tarballs now, we should probably just remove it.

WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"
COMMENT "Building source tarball '${PHYSFS_TARBALL}'..."
)
option(PHYSFS_DISABLE_TARBALL "Disable installing PhysFS tar.gz" OFF)
Copy link
Contributor

Choose a reason for hiding this comment

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

SDL conditionally disables installation, and distribution-related options, when it is built as a subdirectory.
The detection happens here.

Also, I would drop the if(UNIX). If it's up to me, Windows users can also create a distribution. But icculus isn't :)

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.

None yet

3 participants