From cf93be263f67077f833e363dd2771af766f1c085 Mon Sep 17 00:00:00 2001 From: Christoph Haag Date: Thu, 26 Aug 2021 00:42:59 +0200 Subject: [PATCH] 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/ --- cmake/FindLeapV2.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/FindLeapV2.cmake b/cmake/FindLeapV2.cmake index aa517bb38..d914a62d3 100644 --- a/cmake/FindLeapV2.cmake +++ b/cmake/FindLeapV2.cmake @@ -42,7 +42,7 @@ find_library( LeapV2_LIBRARY NAMES Leap PATHS ${LeapV2_ROOT_DIR} - PATH_SUFFIXES lib) + PATH_SUFFIXES lib lib/x64) include(FindPackageHandleStandardArgs) find_package_handle_standard_args(LeapV2 REQUIRED_VARS LeapV2_INCLUDE_DIR LeapV2_LIBRARY)