rpcd: CMake: fix out of tree builds

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
This commit is contained in:
Alexander Couzens 2013-10-10 06:30:31 +02:00 committed by Jo-Philipp Wich
parent 095b1058c8
commit a511e620c8

View file

@ -3,7 +3,8 @@ cmake_minimum_required(VERSION 2.6)
INCLUDE(CheckFunctionExists) INCLUDE(CheckFunctionExists)
PROJECT(rpcd C) 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(FILE_SUPPORT "File plugin support" ON)
OPTION(IWINFO_SUPPORT "libiwinfo plugin support" ON) OPTION(IWINFO_SUPPORT "libiwinfo plugin support" ON)