mirror of
https://github.com/pineappleEA/pineapple-src.git
synced 2024-12-04 23:38:25 -05:00
32 lines
826 B
Diff
32 lines
826 B
Diff
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||
|
index 1e0d192..aedc576 100644
|
||
|
--- a/CMakeLists.txt
|
||
|
+++ b/CMakeLists.txt
|
||
|
@@ -90,7 +90,7 @@ SET(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/lib)
|
||
|
|
||
|
# dependencies
|
||
|
FIND_PACKAGE(PkgConfig) # try find PKGConfig as it will be used if found
|
||
|
-FIND_PACKAGE(LibUSB REQUIRED)
|
||
|
+FIND_PACKAGE(libusb CONFIG REQUIRED)
|
||
|
|
||
|
# Add includes
|
||
|
INCLUDE_DIRECTORIES(
|
||
|
@@ -98,7 +98,7 @@ INCLUDE_DIRECTORIES(
|
||
|
"${MY_DIR}/include/internal"
|
||
|
${PROJECT_BINARY_DIR} # for generated headers
|
||
|
${LIBFREENECT2_THREADING_INCLUDE_DIR}
|
||
|
- ${LibUSB_INCLUDE_DIRS}
|
||
|
+ ${LIBUSB_INCLUDE_DIRS}
|
||
|
)
|
||
|
|
||
|
SET(RESOURCES_INC_FILE "${PROJECT_BINARY_DIR}/resources.inc.h")
|
||
|
@@ -154,7 +154,7 @@ SET(SOURCES
|
||
|
)
|
||
|
|
||
|
SET(LIBRARIES
|
||
|
- ${LibUSB_LIBRARIES}
|
||
|
+ ${LIBUSB_LIBRARIES}
|
||
|
${LIBFREENECT2_THREADING_LIBRARIES}
|
||
|
)
|
||
|
|