rpcd: CMake: fix out of tree builds
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
This commit is contained in:
parent
095b1058c8
commit
a511e620c8
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue