Skip to content

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