Skip to content

Commit

Permalink
CMake fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pbosetti committed Jun 9, 2021
1 parent 272216a commit 0721b9c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,9 @@ target_link_options(listusb BEFORE PUBLIC -pthread)
target_link_libraries(listusb ${LIBUSB_NAME} ${FRAMEWORKS})

if (NOT WIN32)
add_dependencies(mightex_static libusb_prj)
add_dependencies(mightex_static libusb libusb_prj)
add_dependencies(mightex_shared libusb libusb_prj)
add_dependencies(listusb libusb libusb_prj)
endif()

list(APPEND TARGETS_LIST
Expand Down

0 comments on commit 0721b9c

Please sign in to comment.