diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 26e011e..7628212 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 2.6) INCLUDE(CheckFunctionExists) PROJECT(rpcd C) -ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -g3 -Wmissing-declarations) +ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -g3 -Wmissing-declarations -DINSTALL_PREFIX="${CMAKE_INSTALL_PREFIX}") INCLUDE_DIRECTORIES(include) OPTION(FILE_SUPPORT "File plugin support" ON) @@ -67,5 +67,5 @@ ENDIF() INSTALL(TARGETS rpcd ${PLUGINS} RUNTIME DESTINATION sbin - LIBRARY DESTINATION lib + LIBRARY DESTINATION lib/rpcd ) |