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 CMake installed files by removing physac.hpp from the list #226

Merged
merged 1 commit into from
Dec 30, 2022
Merged

Fix CMake installed files by removing physac.hpp from the list #226

merged 1 commit into from
Dec 30, 2022

Conversation

dk949
Copy link
Contributor

@dk949 dk949 commented Dec 30, 2022

The file physac.hpp got removed in
d19cbcc, but remained in install/CMakeLists.txt, causing cmake --install to fail.

Just removing it from the list minimizes changes, but seeing as every .hpp file gets added to the install list maybe something like this would be a better fit?

file(GLOB INSTALL_FILES "*.hpp")
install(FILES ${INSTALL_FILES})

The file physac.hpp got removed in
d19cbcc, but remained in
`install/CMakeLists.txt`, causing `cmake --install` to fail.
@RobLoach RobLoach merged commit e0f60f0 into RobLoach:master Dec 30, 2022
@RobLoach
Copy link
Owner

Good find 👍 .... As for GLOB-ing it, that's generally frowned upon in the CMake-world, but I'd be down for that change 👍

@dk949 dk949 deleted the dk949/fix-CmakeLists branch December 30, 2022 23:19
@RobLoach RobLoach changed the title Removed physac.hpp from the installed files list Fix CMake installed files by removing physac.hpp from the list Jan 21, 2023
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