From: Andrew Karpow Date: Fri, 24 Apr 2015 21:38:39 +0000 (+0200) Subject: add libmpdclient header location to gcc-search path, fixes openbsd builds X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=3701a8510beadcdeae4ad951b7a9fe5d3a642590;p=ympd.git add libmpdclient header location to gcc-search path, fixes openbsd builds --- diff --git a/CMakeLists.txt b/CMakeLists.txt index d32f0d9..7bd4b70 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,7 +19,7 @@ find_package(LibMPDClient REQUIRED) find_package(Threads REQUIRED) configure_file(src/config.h.in ${PROJECT_BINARY_DIR}/config.h) -include_directories(${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR}) +include_directories(${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR} ${LIBMPDCLIENT_INCLUDE_DIR}) include(CheckCSourceCompiles)