mirror of
https://github.com/json-c/json-c.git
synced 2026-04-09 23:39:06 +08:00
* don't assume includedir
This change syncs the public header include install location with what gets written into pkgconfig file.
This commit is contained in:
@@ -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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user