mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-05-18 07:12:17 -04:00
Merge branch 'acars' of https://github.com/srcejon/sdrangel into acars
This commit is contained in:
commit
a85903a12f
@ -666,6 +666,10 @@ elseif(ANDROID)
|
||||
)
|
||||
endif()
|
||||
add_compile_definitions(ANDROID)
|
||||
elseif(UNIX)
|
||||
set(CMAKE_FIND_ROOT_PATH "/usr/local")
|
||||
include_directories("/usr/local/include")
|
||||
link_directories("/usr/local/lib")
|
||||
endif()
|
||||
|
||||
# When building a bundle on MacOS, we want to keep build paths in the library
|
||||
|
||||
@ -8,7 +8,7 @@ if(NOT LIBUSB_FOUND)
|
||||
/usr/local/include
|
||||
)
|
||||
|
||||
find_library(LIBUSB_LIBRARIES NAMES usb-1.0
|
||||
find_library(LIBUSB_LIBRARIES NAMES usb-1.0 usb
|
||||
PATHS
|
||||
${LIBUSB_PKG_LIBRARY_DIRS}
|
||||
/usr/lib
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user