Browse Source

* don't assume includedir

This change syncs the public header include install location with what gets written into pkgconfig file.
tags/json-c-0.16-20220414
DeX77 GitHub 4 years ago
parent
commit
d6d4b71d7d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      CMakeLists.txt

+ 2
- 1
CMakeLists.txt View File

@@ -531,4 +531,5 @@ if (UNIX OR MINGW OR CYGWIN)
install(FILES ${PROJECT_BINARY_DIR}/json-c.pc DESTINATION "${INSTALL_PKGCONFIG_DIR}") install(FILES ${PROJECT_BINARY_DIR}/json-c.pc DESTINATION "${INSTALL_PKGCONFIG_DIR}")
endif () endif ()


install(FILES ${JSON_C_PUBLIC_HEADERS} DESTINATION ${CMAKE_INSTALL_PREFIX}/include/json-c)
install(FILES ${JSON_C_PUBLIC_HEADERS} DESTINATION ${CMAKE_INSTALL_FULL_INCLUDEDIR}/json-c)


Loading…
Cancel
Save