Put binaries into install directory

This commit is contained in:
Andrew Nelless 2017-02-07 12:32:37 +00:00
parent e4db361d62
commit 7161e28cf6
1 changed files with 3 additions and 0 deletions

View File

@ -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)