diff options
| author | 2018-01-15 12:56:58 -0500 | |
|---|---|---|
| committer | 2018-01-15 12:56:58 -0500 | |
| commit | 67c8b671d251e774f8d761c8ef22b3544b25465c (patch) | |
| tree | 9b375bd319eb12676450e3ca724b7ffd43fa03e2 /CMakeLists.txt | |
| parent | Merge pull request #20 from Andrix44/fixes (diff) | |
| parent | CMake: Output binaries to bin/ (diff) | |
| download | yuzu-67c8b671d251e774f8d761c8ef22b3544b25465c.tar.gz yuzu-67c8b671d251e774f8d761c8ef22b3544b25465c.tar.xz yuzu-67c8b671d251e774f8d761c8ef22b3544b25465c.zip | |
Merge pull request #17 from spycrab/bindir
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 2af11a4e6..d60d1a5bf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
| @@ -166,6 +166,9 @@ if (NOT Boost_FOUND) | |||
| 166 | find_package(Boost QUIET REQUIRED) | 166 | find_package(Boost QUIET REQUIRED) |
| 167 | endif() | 167 | endif() |
| 168 | 168 | ||
| 169 | # Output binaries to bin/ | ||
| 170 | set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) | ||
| 171 | |||
| 169 | # Prefer the -pthread flag on Linux. | 172 | # Prefer the -pthread flag on Linux. |
| 170 | set(THREADS_PREFER_PTHREAD_FLAG ON) | 173 | set(THREADS_PREFER_PTHREAD_FLAG ON) |
| 171 | find_package(Threads REQUIRED) | 174 | find_package(Threads REQUIRED) |