argtable / argtable3

A single-file, ANSI C, command-line parsing library that parses GNU-style command-line options.
http://www.argtable.org
Other
372 stars 65 forks source link

Fix include directory when installing #93

Closed JetbladeDevsStuff closed 6 months ago

JetbladeDevsStuff commented 6 months ago

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.

tomghuang commented 6 months ago

@JetbladeDevsStuff : Thanks a lot for this patch.