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

Fix some cmake glitches #49

Merged
merged 1 commit into from
Oct 25, 2024
Merged

Conversation

ellert
Copy link
Contributor

@ellert ellert commented Oct 24, 2024

Do not overwrite the original values of CMAKE_SHARED_LINKER_FLAGS and CMAKE_MODULE_LINKER_FLAGS. The original values contain the content of the LDFLAGS environment variable. If these variables are overwritten instead of extended, the content of LDFLAGS will be ignored.

Use the module name when calling find_package, not the target name defined in the module.

Do not overwrite the original values of CMAKE_SHARED_LINKER_FLAGS and
CMAKE_MODULE_LINKER_FLAGS. The original values contain the content of
the LDFLAGS environment variable. If these variables are overwritten
instead of extended, the content of LDFLAGS will be ignored.

Use the module name when calling find_package, not the target name
defined in the module.
Copy link
Collaborator

@bbockelm bbockelm left a comment

Choose a reason for hiding this comment

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

LGTM -- thanks @ellert!

@bbockelm bbockelm merged commit 0e9832c into PelicanPlatform:main Oct 25, 2024
3 checks passed
@ellert ellert deleted the cmake-fixes branch October 28, 2024 08:34
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.

2 participants