add libmpdclient header location to gcc-search path, fixes openbsd builds
authorAndrew Karpow <andy@ndyk.de>
Fri, 24 Apr 2015 21:38:39 +0000 (23:38 +0200)
committerAndrew Karpow <andy@ndyk.de>
Fri, 24 Apr 2015 21:38:39 +0000 (23:38 +0200)
CMakeLists.txt

index d32f0d9..7bd4b70 100644 (file)
@@ -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)