Merge pull request #17 from spycrab/bindir
CMake: Output binaries to bin/
This commit is contained in:
commit
67c8b671d2
3 changed files with 7 additions and 4 deletions
|
@ -166,6 +166,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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue