Put binaries into install directory
This commit is contained in:
parent
e4db361d62
commit
7161e28cf6
|
@ -39,6 +39,9 @@ endif()
|
||||||
# First, declare project (important for prerequisite checks).
|
# First, declare project (important for prerequisite checks).
|
||||||
project(synergy C CXX)
|
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 some easy to type variables.
|
||||||
set(root_dir ${CMAKE_SOURCE_DIR})
|
set(root_dir ${CMAKE_SOURCE_DIR})
|
||||||
set(cmake_dir ${root_dir}/res)
|
set(cmake_dir ${root_dir}/res)
|
||||||
|
|
Loading…
Reference in New Issue