Skip to content

Commit

Permalink
Fix install include directory
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
JetbladeDevsStuff committed Mar 3, 2024
1 parent 30d6805 commit 4ceaab9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ install(TARGETS argtable3
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
)

install(FILES "${PROJECT_SOURCE_DIR}/src/argtable3.h"
Expand Down

0 comments on commit 4ceaab9

Please sign in to comment.