From 7cac015723fdd8ccc354153b921a493b6d8929b4 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sun, 10 Sep 2017 04:06:27 -0500 Subject: [PATCH] Add binary directory in CMake --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 95929fec..755df3cd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,6 +22,8 @@ add_definitions( -Wsign-compare ) +set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}) +set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}) set(CMAKE_INSTALL_RPATH "$ORIGIN" "$ORIGIN/../lib/nostalgia") set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)