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 include directory when installing #93

Merged
merged 1 commit into from
Mar 14, 2024
Merged

Fix include directory when installing #93

merged 1 commit into from
Mar 14, 2024

Conversation

JetbladeDevsStuff
Copy link
Contributor

Previously, the include directory when installing the package was specified twice in the call to install. This caused CMake to believe that the include files were being moved to both ${CMAKE_INSTALL_INCLUDEDIR} and the non-existent path DESTINATION. When another package then tried to use argtable3 by calling find_package(argtable3), the inclusion would fail because CMake would realize that this path does not exist.

Specifing the path twice would cause CMake to think that the include
files were being installed to "{PREFIX}/DESTINATION", which would cause
package inclusion to fail.
@tomghuang tomghuang merged commit 7e49a73 into argtable:master Mar 14, 2024
2 checks passed
@tomghuang
Copy link
Contributor

@JetbladeDevsStuff : Thanks a lot for this patch.

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