]> git.cworth.org Git - apitrace/blobdiff - CMakeLists.txt
Put all executables into the same to level build directory.
[apitrace] / CMakeLists.txt
index a25357d24c46c0d7d80fa72184e222c7e5428ef9..253d27d35a0460b84fa62fe39abf35750c8bcfac 100755 (executable)
@@ -77,6 +77,10 @@ else ()
     add_definitions (-Wno-sign-compare) # comparison between signed and unsigned integer expressions
 endif ()
 
+# Put all executables into the same top level build directory, regardless of
+# which subdirectory they are declared
+set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
+
 # Use bundled ZLIB if system one can't be found
 if (ZLIB_FOUND)
     include_directories (${ZLIB_INCLUDE_DIRS})