From cc44b3497db0b705e5c337bce0a45416728189c9 Mon Sep 17 00:00:00 2001 From: Vadim Zhukov Date: Sun, 30 Jul 2017 06:42:06 +0300 Subject: Use library found instead of hardcoding compiler flag. Fixes build on OpenBSD. --- heimdall/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'heimdall') diff --git a/heimdall/CMakeLists.txt b/heimdall/CMakeLists.txt index 95cdbe2..58a1d43 100644 --- a/heimdall/CMakeLists.txt +++ b/heimdall/CMakeLists.txt @@ -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}) -- cgit v1.2.3