* 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:
1 parent
382f9462c2
commit
d6d4b71d7d
1 file changed
+2
-1
+2
-1
@@ -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