mirror of
https://github.com/lubosz/overte.git
synced 2025-04-06 15:22:42 +02:00
add the default environment variable name for the kinect plugin to the search hints
This commit is contained in:
parent
c986077a4f
commit
876dd4c850
1 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@
|
|||
include("${MACRO_DIR}/HifiLibrarySearchHints.cmake")
|
||||
hifi_library_search_hints("kinect")
|
||||
|
||||
find_path(KINECT_INCLUDE_DIRS Kinect.h PATH_SUFFIXES inc HINTS $ENV{KINECT_ROOT_DIR})
|
||||
find_path(KINECT_INCLUDE_DIRS Kinect.h PATH_SUFFIXES inc HINTS $ENV{KINECT_ROOT_DIR} $ENV{KINECTSDK20_DIR})
|
||||
|
||||
if (WIN32)
|
||||
|
||||
|
@ -35,7 +35,7 @@ if (WIN32)
|
|||
KINECT_LIBRARY_RELEASE Kinect20
|
||||
PATH_SUFFIXES "Lib/${ARCH_DIR}" "lib"
|
||||
HINTS ${KINECT_SEARCH_DIRS}
|
||||
PATH $ENV{KINECT_ROOT_DIR})
|
||||
PATHS $ENV{KINECT_ROOT_DIR} $ENV{KINECTSDK20_DIR})
|
||||
|
||||
set(KINECT_LIBRARIES ${KINECT_LIBRARY})
|
||||
|
||||
|
|
Loading…
Reference in a new issue