Fix incorrect include path

refs #7452
This commit is contained in:
Gunnar Beutner 2014-10-26 20:05:38 +01:00
parent 7559273359
commit 8a2afae83b
2 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@ link_directories(${icinga2_BINARY_DIR}/third-party/execvpe)
include_directories(${icinga2_SOURCE_DIR}/third-party/mmatch)
link_directories(${icinga2_BINARY_DIR}/third-party/mmatch)
include_directories(${icinga2_BINARY_DIR}/third-party/yajl/yajl/include)
include_directories(${icinga2_BINARY_DIR}/third-party/yajl/include)
link_directories(${icinga2_BINARY_DIR}/third-party/yajl)
if(UNIX OR CYGWIN)

View File

@ -28,7 +28,7 @@ SET (PUB_HDRS api/yajl_parse.h api/yajl_gen.h api/yajl_common.h api/yajl_tree.h)
ADD_DEFINITIONS(-DYAJL_BUILD)
# set up some paths
SET (incDir ${CMAKE_CURRENT_BINARY_DIR}/../${YAJL_DIST_NAME}/include/yajl)
SET (incDir ${CMAKE_CURRENT_BINARY_DIR}/../include/yajl)
ADD_LIBRARY(yajl SHARED ${SRCS} ${HDRS} ${PUB_HDRS})