Skip to content

Commit

Permalink
Use library found instead of hardcoding compiler flag.
Browse files Browse the repository at this point in the history
Fixes build on OpenBSD.
  • Loading branch information
grayed committed Jul 30, 2017
1 parent 3b4f34e commit cc44b34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion heimdall/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ use_large_files(heimdall YES)
add_executable(heimdall ${HEIMDALL_SOURCE_FILES})

target_link_libraries(heimdall PRIVATE pit)
target_link_libraries(heimdall PRIVATE usb-1.0)
target_link_libraries(heimdall PRIVATE ${LIBUSB_LIBRARY})

0 comments on commit cc44b34

Please sign in to comment.