idsueyesrc: fix CMake build with default path

Before, Pleora would only be found if Pleora_DIR was specified
This commit is contained in:
Joshua M. Doe 2022-02-25 10:16:25 -05:00
parent 4836d595ce
commit 2beabedaa2

View File

@ -24,8 +24,8 @@ endif ()
set (_Pleora_PATHS PATHS set (_Pleora_PATHS PATHS
"${Pleora_DIR}" "${Pleora_DIR}"
"C:/Program Files/Pleora Technologies Inc/eBUS SDK/Includes" "C:/Program Files/Pleora Technologies Inc/eBUS SDK"
"C:/Program Files (x86)/Pleora Technologies Inc/eBUS SDK/Includes") "C:/Program Files (x86)/Pleora Technologies Inc/eBUS SDK")
find_path (Pleora_INCLUDE_DIR PvBase.h find_path (Pleora_INCLUDE_DIR PvBase.h
PATHS ${_Pleora_PATHS} PATHS ${_Pleora_PATHS}