mirror of
https://github.com/json-c/json-c.git
synced 2026-03-24 15:39:07 +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}")
|
||||
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