summaryrefslogtreecommitdiffstats
path: root/libk8055/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'libk8055/CMakeLists.txt')
-rw-r--r--libk8055/CMakeLists.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/libk8055/CMakeLists.txt b/libk8055/CMakeLists.txt
index 75466ff..cb7df5a 100644
--- a/libk8055/CMakeLists.txt
+++ b/libk8055/CMakeLists.txt
@@ -1,9 +1,12 @@
ADD_LIBRARY( k8055-${VERSION} SHARED libk8055.c )
ADD_LIBRARY( k8055-static-${VERSION} STATIC libk8055.c )
-INCLUDE_DIRECTORIES( ${CMAKE_SOURCE_DIR} )
+INCLUDE_DIRECTORIES(
+ ${CMAKE_SOURCE_DIR}
+ ${LIBUSB_INCLUDE_DIR}
+)
TARGET_LINK_LIBRARIES( k8055-${VERSION}
- usb
+ ${LIBUSB_LDFLAGS}
m
)
SET_TARGET_PROPERTIES(k8055-${VERSION} PROPERTIES PUBLIC_HEADER k8055.h )