summaryrefslogtreecommitdiffstats
path: root/libk8055/CMakeLists.txt
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-03-02 12:53:47 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2011-03-02 12:53:47 +0100
commitbf947e7f571eb9274f230d2d114b4ae4a245a1b7 (patch)
tree116d8f6c5d268012909d6d9a33cc5df1fdfea91c /libk8055/CMakeLists.txt
parent2f4cef7921c255ecbc17dfbbeca0f891e54aad80 (diff)
downloadk8055-bf947e7f571eb9274f230d2d114b4ae4a245a1b7.zip
k8055-bf947e7f571eb9274f230d2d114b4ae4a245a1b7.tar.gz
use libusb-1.0 API
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 )