From 3701a8510beadcdeae4ad951b7a9fe5d3a642590 Mon Sep 17 00:00:00 2001 From: Andrew Karpow Date: Fri, 24 Apr 2015 23:38:39 +0200 Subject: [PATCH] add libmpdclient header location to gcc-search path, fixes openbsd builds --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.20.1