Skip to content

Commit

Permalink
Fix linux build error.
Browse files Browse the repository at this point in the history
  • Loading branch information
kendryte747 committed Oct 22, 2024
1 parent 60b3831 commit 0c27e7f
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions canaan-burn/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ project(
LANGUAGES C)

set(BUILD_SHARED_LIBS ON)
set(LIBUSB_INSTALL_TARGETS OFF)
set(LIBUSB_INSTALL_TARGETS ON)
add_subdirectory(3rdparty/libusb-cmake)

# ##############################################################################
Expand Down Expand Up @@ -128,9 +128,4 @@ install(TARGETS canaan_burn
RUNTIME DESTINATION bin
)

# manual install libusb
install(TARGETS usb-1.0
LIBRARY DESTINATION bin
)

install(DIRECTORY "${CMAKE_CURRENT_LIST_DIR}/include/public" DESTINATION "include")

0 comments on commit 0c27e7f

Please sign in to comment.