diff options
-rw-r--r-- | CMakeLists.txt | 4 | ||||
-rw-r--r-- | cmake/Findlibusb.cmake | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 372a604..a4f694d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,6 +6,10 @@ set(CMAKE_MODULE_PATH project(Heimdall) +set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) + add_subdirectory(libpit) add_subdirectory(heimdall) add_subdirectory(heimdall-frontend) + +add_dependencies(heimdall-frontend heimdall) diff --git a/cmake/Findlibusb.cmake b/cmake/Findlibusb.cmake index 4b099d3..69811bc 100644 --- a/cmake/Findlibusb.cmake +++ b/cmake/Findlibusb.cmake @@ -27,7 +27,7 @@ find_library(LIBUSB_LIBRARY ) include(FindPackageHandleStandardArgs) -find_package_handle_standard_args(LIBUSB REQUIRED_VARS LIBUSB_LIBRARY LIBUSB_INCLUDE_DIR) +find_package_handle_standard_args(libusb REQUIRED_VARS LIBUSB_LIBRARY LIBUSB_INCLUDE_DIR) if (LIBUSB_FOUND) set(LIBUSB_INCLUDE_DIRS ${LIBUSB_INCLUDE_DIR}) |