I'm using VS17 (2022 community) and I'm not sure how to get past this error. If anyone could help with some insight that would be great. I did try and add the LeapSDK_DIR path to the */LeapSDK/lib/x64/cmake which contains the files, but still get the same error.
CMake Error at E:\Program Files\Ultraleap\LeapSDK\samples\CMakeLists.txt:7 (find_package):
Could not find a package configuration file provided by "LeapSDK"
(requested version 5) with any of the following names:
LeapSDKConfig.cmake
leapsdk-config.cmake
Add the installation prefix of "LeapSDK" to CMAKE_PREFIX_PATH or set
"LeapSDK_DIR" to a directory containing one of the above files. If
"LeapSDK" provides a separate development package or SDK, be sure it has
been installed. leapc_example E:\Program Files\Ultraleap\LeapSDK\samples\CMakeLists.txt 7