Fix misspelled JSONCPP_INCLUDE_DIRS for CMake

This commit is contained in:
Tobias Blomberg 2019-10-12 18:27:36 +02:00
parent 11a3e2818f
commit 829b6a48f9
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ add_definitions(${GCRYPT_DEFINITIONS})
#include_directories(${JSONCPP_INC_PATH})
#set(LIBS ${LIBS} jsoncpp_lib)
pkg_check_modules (JSONCPP REQUIRED jsoncpp)
include_directories(${JSONCPP_INCLUDES})
include_directories(${JSONCPP_INCLUDE_DIRS})
set(LIBS ${LIBS} ${JSONCPP_LIBRARIES})
# Add project libraries

View File

@ -54,7 +54,7 @@ endif(CURL_FOUND)
#include_directories(${JSONCPP_INC_PATH})
#set(LIBS ${LIBS} jsoncpp_lib)
pkg_check_modules (JSONCPP REQUIRED jsoncpp)
include_directories(${JSONCPP_INCLUDES})
include_directories(${JSONCPP_INCLUDE_DIRS})
set(LIBS ${LIBS} ${JSONCPP_LIBRARIES})
# Add project libraries