find_file(OPENNI_PRIME_SENSOR_MODULE"XnCore.dll"PATHS${OPENNI_PRIME_SENSOR_MODULE_BIN_DIR}DOC"Core library of PrimeSensor Modules for OpenNI"NO_DEFAULT_PATH)
elseif(UNIXORAPPLE)
find_library(OPENNI_PRIME_SENSOR_MODULE"XnCore"PATHS${OPENNI_PRIME_SENSOR_MODULE_BIN_DIR}DOC"Core library of PrimeSensor Modules for OpenNI"NO_DEFAULT_PATH)
find_file(OPENNI_PRIME_SENSOR_MODULE"XnCore.dll"PATHS${OPENNI_PRIME_SENSOR_MODULE_BIN_DIR}DOC"Core library of PrimeSensor Modules for OpenNI"NO_DEFAULT_PATH)
elseif(UNIXORAPPLE)
find_library(OPENNI_PRIME_SENSOR_MODULE"XnCore"PATHS${OPENNI_PRIME_SENSOR_MODULE_BIN_DIR}DOC"Core library of PrimeSensor Modules for OpenNI"NO_DEFAULT_PATH)
endif()
if(OPENNI_PRIME_SENSOR_MODULE)
set(HAVE_OPENNI_PRIME_SENSOR_MODULETRUE)
endif()
if(OPENNI_PRIME_SENSOR_MODULE)
set(HAVE_OPENNI_PRIME_SENSOR_MODULETRUE)
endif()
endif()#if(OPENNI_LIBRARYANDOPENNI_INCLUDES)
if(OPENNI_LIBRARY)
set(OPENNI_LIB_DIR_INTERNAL"${OPENNI_LIB_DIR}"CACHEINTERNAL"This is the value of the last time OPENNI_LIB_DIR was set successfully."FORCE)
set(OPENNI_LIB_DIR_INTERNAL"${OPENNI_LIB_DIR}"CACHEINTERNAL"This is the value of the last time OPENNI_LIB_DIR was set successfully."FORCE)
else()
set(OPENNI_LIB_DIR"${OPENNI_LIB_DIR}-NOTFOUND or does not have OpenNI libraries"CACHEPATH${OPENNI_LIB_DESCR}FORCE)
set(OPENNI_LIB_DIR"${OPENNI_LIB_DIR}-NOTFOUND or does not have OpenNI libraries"CACHEPATH${OPENNI_LIB_DESCR}FORCE)
message(WARNING," OpenNI library directory (set by OPENNI_LIB_DIR variable) is not found or does not have OpenNI libraries.")
endif()
if(OPENNI_INCLUDES)
set(OPENNI_INCLUDE_DIR_INTERNAL"${OPENNI_INCLUDE_DIR}"CACHEINTERNAL"This is the value of the last time OPENNI_INCLUDE_DIR was set successfully."FORCE)
set(OPENNI_INCLUDE_DIR_INTERNAL"${OPENNI_INCLUDE_DIR}"CACHEINTERNAL"This is the value of the last time OPENNI_INCLUDE_DIR was set successfully."FORCE)
else()
set(OPENNI_INCLUDE_DIR"${OPENNI_INCLUDE_DIR}-NOTFOUND or does not have OpenNI includes"CACHEPATH${OPENNI_INCLUDE_DESCR}FORCE)
set(OPENNI_INCLUDE_DIR"${OPENNI_INCLUDE_DIR}-NOTFOUND or does not have OpenNI includes"CACHEPATH${OPENNI_INCLUDE_DESCR}FORCE)
message(WARNING," OpenNI include directory (set by OPENNI_INCLUDE_DIR variable) is not found or does not have OpenNI includes.")
endif()
if(OPENNI_PRIME_SENSOR_MODULE)
set(OPENNI_PRIME_SENSOR_MODULE_BIN_DIR_INTERNAL"${OPENNI_PRIME_SENSOR_MODULE_BIN_DIR}"CACHEINTERNAL"This is the value of the last time OPENNI_PRIME_SENSOR_MODULE_BIN_DIR was set successfully."FORCE)
set(OPENNI_PRIME_SENSOR_MODULE_BIN_DIR_INTERNAL"${OPENNI_PRIME_SENSOR_MODULE_BIN_DIR}"CACHEINTERNAL"This is the value of the last time OPENNI_PRIME_SENSOR_MODULE_BIN_DIR was set successfully."FORCE)
else()
set(OPENNI_PRIME_SENSOR_MODULE_BIN_DIR"${OPENNI_PRIME_SENSOR_MODULE_BIN_DIR}-NOTFOUND or does not have PrimeSensor Module binaries"CACHEPATH${OPENNI_PRIME_SENSOR_MODULE_BIN_DESCR}FORCE)
set(OPENNI_PRIME_SENSOR_MODULE_BIN_DIR"${OPENNI_PRIME_SENSOR_MODULE_BIN_DIR}-NOTFOUND or does not have PrimeSensor Module binaries"CACHEPATH${OPENNI_PRIME_SENSOR_MODULE_BIN_DESCR}FORCE)
message(WARNING," PrimeSensor Module binaries directory (set by OPENNI_PRIME_SENSOR_MODULE_BIN_DIR variable) is not found or does not have PrimeSensor Module binaries.")