From 17f8e4747196d2b190e48afc7fbd9f1d7a2357d5 Mon Sep 17 00:00:00 2001 From: Steven Peters Date: Tue, 12 Jul 2016 18:13:20 -0700 Subject: [PATCH] Copy windows test fix from console_bridge --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index be9588c2..2485b5dc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -52,6 +52,11 @@ if(MSVC) set(CMAKE_DEBUG_POSTFIX "d") endif(MSVC) +# Control where libraries and executables are placed during the build +set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_BINDIR}") +set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR}") +set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR}") + enable_testing() add_subdirectory(urdf_parser)