diff options
author | spycrab <spycrab@users.noreply.github.com> | 2018-01-15 10:42:40 +0100 |
---|---|---|
committer | spycrab <spycrab@users.noreply.github.com> | 2018-01-15 13:47:38 +0100 |
commit | 8a440faa6901e91a0e81177bcf68431f91e03fae (patch) | |
tree | 0cf56c61b6f5ca46c58a91142037fd1498193dc1 /CMakeLists.txt | |
parent | bf1084ff6eae558bbca8458460c2af17ade5f9a4 (diff) |
CMake: Output binaries to bin/
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 09fe9bcd3..791a3357f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -160,6 +160,9 @@ if (NOT Boost_FOUND) find_package(Boost QUIET REQUIRED) endif() +# Output binaries to bin/ +set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) + # Prefer the -pthread flag on Linux. set(THREADS_PREFER_PTHREAD_FLAG ON) find_package(Threads REQUIRED) |