Force cmake to store libraries and executables in the root of the build dir

This fixes the tests because they could not find the rai_node executable
This commit is contained in:
Arugula Bowl 2018-07-11 20:24:58 +00:00 committed by Lee Bousfield
commit a8d2bb7639

View file

@ -10,6 +10,8 @@ endif (DEFINED GIT_COMMIT)
set (CPACK_PACKAGE_VENDOR "Nano Currency")
set(CMAKE_INSTALL_RPATH "@executable_path/../Frameworks")
# Create all libraries and executables in the root binary dir
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
set (RAIBLOCKS_GUI OFF CACHE BOOL "")
set (RAIBLOCKS_TEST OFF CACHE BOOL "")