From 7161e28cf6400dab07bea785e437a82226fc8cef Mon Sep 17 00:00:00 2001 From: Andrew Nelless Date: Tue, 7 Feb 2017 12:32:37 +0000 Subject: [PATCH] Put binaries into install directory --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7b575a64..7c733003 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -39,6 +39,9 @@ endif() # First, declare project (important for prerequisite checks). project(synergy C CXX) +set (CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/install/bin") +set (CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/install/lib") + # Set some easy to type variables. set(root_dir ${CMAKE_SOURCE_DIR}) set(cmake_dir ${root_dir}/res)