From: Alexander Couzens Date: Thu, 10 Oct 2013 04:30:31 +0000 (+0200) Subject: rpcd: CMake: fix out of tree builds X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a511e620c8d8c735e6a16b7f67382d587dcdaf31;p=oweals%2Frpcd.git rpcd: CMake: fix out of tree builds Signed-off-by: Alexander Couzens --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 8c0a4ef..4cef7d6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,7 +3,8 @@ cmake_minimum_required(VERSION 2.6) INCLUDE(CheckFunctionExists) PROJECT(rpcd C) -ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -g3 -Wmissing-declarations -Iinclude) +ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -g3 -Wmissing-declarations) +INCLUDE_DIRECTORIES(include) OPTION(FILE_SUPPORT "File plugin support" ON) OPTION(IWINFO_SUPPORT "libiwinfo plugin support" ON)