mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-27 09:01:46 +00:00
cmake: Add lib/x64 path for leap motion v2
When downloading and extracting the leap developer kit: Headers: LeapDeveloperKit_2.3.1+31549_linux/LeapSDK/include Libs: LeapDeveloperKit_2.3.1+31549_linux/LeapSDK/lib/x64 With this change cmake finds the SDK with -DLeapV2_ROOT_DIR=/path/to/LeapDeveloperKit_2.3.1+31549_linux/LeapSDK/
This commit is contained in:
parent
8b8891f60f
commit
cf93be263f
|
@ -42,7 +42,7 @@ find_library(
|
||||||
LeapV2_LIBRARY
|
LeapV2_LIBRARY
|
||||||
NAMES Leap
|
NAMES Leap
|
||||||
PATHS ${LeapV2_ROOT_DIR}
|
PATHS ${LeapV2_ROOT_DIR}
|
||||||
PATH_SUFFIXES lib)
|
PATH_SUFFIXES lib lib/x64)
|
||||||
include(FindPackageHandleStandardArgs)
|
include(FindPackageHandleStandardArgs)
|
||||||
find_package_handle_standard_args(LeapV2 REQUIRED_VARS LeapV2_INCLUDE_DIR
|
find_package_handle_standard_args(LeapV2 REQUIRED_VARS LeapV2_INCLUDE_DIR
|
||||||
LeapV2_LIBRARY)
|
LeapV2_LIBRARY)
|
||||||
|
|
Loading…
Reference in a new issue