From f285cad20213b01179d6537daa0c69d6cfc06564 Mon Sep 17 00:00:00 2001 From: Chadwick Boulay Date: Thu, 27 Feb 2020 17:19:53 -0500 Subject: [PATCH] default search paths for liblsl should be install folders. --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2fd1adb..6d27573 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,8 +20,8 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") # and some default paths find_package(LSL REQUIRED HINTS ${LSL_INSTALL_ROOT} - "${CMAKE_CURRENT_LIST_DIR}/../../LSL/liblsl/build/" - "${CMAKE_CURRENT_LIST_DIR}/../../LSL/liblsl/out/build/x64-Release" + "${CMAKE_CURRENT_LIST_DIR}/../../LSL/liblsl/build/install" + "${CMAKE_CURRENT_LIST_DIR}/../../LSL/liblsl/out/install/x64-Release" PATH_SUFFIXES share/LSL) get_filename_component(LSL_PATH ${LSL_CONFIG} DIRECTORY) message(STATUS "Found LSL lib in ${LSL_PATH}")