summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2016-06-11 20:45:55 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2016-06-11 20:46:05 +0300
commit736b295100ce441e800457bcbd08cb36db543ff2 (patch)
treea338748ddf1b3952441d6b65db52f66ca5ff2621
parent711a0b813c2b3e0d4703aed6cf2c71b88db3f3b8 (diff)
cmake: results to bin & lib dirs
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d79b3f4..e5b5ea5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,6 +1,10 @@
cmake_minimum_required(VERSION 2.8)
project(kms++)
+set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
+set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
+set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
+
include(CheckCXXCompilerFlag)
IF(NOT CMAKE_BUILD_TYPE)