summaryrefslogtreecommitdiffstats
path: root/remote-processor
diff options
context:
space:
mode:
authorDavid Wagner <david.wagner@intel.com>2014-02-17 17:53:11 +0100
committerDavid Wagner <david.wagner@intel.com>2014-02-17 17:58:31 +0100
commit4df5f7eea545fd812f8caad4eefbfa3435516000 (patch)
tree982d748651158b51217f4f2881bcba5c99b08819 /remote-processor
parent3fac6d8f4e0d65a02a478dd32947c74b82b1b7b5 (diff)
downloadexternal_parameter-framework-4df5f7eea545fd812f8caad4eefbfa3435516000.zip
external_parameter-framework-4df5f7eea545fd812f8caad4eefbfa3435516000.tar.gz
external_parameter-framework-4df5f7eea545fd812f8caad4eefbfa3435516000.tar.bz2
CMake: add installation instruction
Run "cmake -DCMAKE_INSTALL_PREFIX=/path/to/install ." for choosing a custom prefix (optional: if it is not specified, a default directory will be chosen). Run "make install" for installing all generated files. Signed-off-by: David Wagner <david.wagner@intel.com>
Diffstat (limited to 'remote-processor')
-rw-r--r--remote-processor/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/remote-processor/CMakeLists.txt b/remote-processor/CMakeLists.txt
index 5cecf98..60b6ff2 100644
--- a/remote-processor/CMakeLists.txt
+++ b/remote-processor/CMakeLists.txt
@@ -12,3 +12,5 @@ include(FindThreads)
# TODO: use the "prefer pthread" option; check if we are using pthread (what to
# do else ?)
target_link_libraries(remote-processor ${CMAKE_THREAD_LIBS_INIT})
+
+install(TARGETS remote-processor LIBRARY DESTINATION lib)