Buildsystem: Fix paths

Fix library and include paths in pkg-config, CMakeLists.txt and the
CMake config files.
This commit is contained in:
Max Bruckner
2016-11-06 14:54:43 +07:00
parent 251e5a5e34
commit f9ce93029a
5 changed files with 10 additions and 11 deletions

View File

@@ -8,7 +8,7 @@ set(CJSON_UTILS_LIBRARY @CJSON_UTILS_LIB@)
# The cJSON library
set(CJSON_LIBRARY @CJSON_LIB@)
# The include directories used by cJSON
set(CJSON_INCLUDE_DIRS @CMAKE_INSTALL_PREFIX@/include)
set(CJSON_INCLUDE_DIRS "@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_INCLUDEDIR@")
get_filename_component(_dir "${CMAKE_CURRENT_LIST_FILE}" PATH)
include("${_dir}/cJSONConfigTargets.cmake")