summaryrefslogtreecommitdiffstats
path: root/heimdall/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'heimdall/CMakeLists.txt')
-rw-r--r--heimdall/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/heimdall/CMakeLists.txt b/heimdall/CMakeLists.txt
index 8887211..a66a336 100644
--- a/heimdall/CMakeLists.txt
+++ b/heimdall/CMakeLists.txt
@@ -85,4 +85,6 @@ target_link_libraries(heimdall PRIVATE pit)
LINK_DIRECTORIES(../libusb-1.0/lib/mingw)
if(WIN32)
target_link_libraries(heimdall PRIVATE ${CMAKE_SOURCE_DIR}/libusb-1.0/lib/mingw/libusb-1.0.a)
+else(WIN32)
+ target_link_libraries(heimdalll PRIVATE usb-1.0)
endif(WIN32)