From 4df5f7eea545fd812f8caad4eefbfa3435516000 Mon Sep 17 00:00:00 2001 From: David Wagner Date: Mon, 17 Feb 2014 17:53:11 +0100 Subject: 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 --- remote-processor/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'remote-processor') 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) -- cgit v1.1