set(OPENNI2_LIB_DIR"${OPENNI2_LIB_DIR}"CACHEPATH"Path to OpenNI2 libraries"FORCE)
set(OPENNI2_INCLUDE_DIR"${OPENNI2_INCLUDE_DIR}"CACHEPATH"Path to OpenNI2 headers"FORCE)
endif()
if(OPENNI2_LIBRARY)
set(OPENNI2_LIB_DIR_INTERNAL"${OPENNI2_LIB_DIR}"CACHEINTERNAL"This is the value of the last time OPENNI_LIB_DIR was set successfully."FORCE)
else()
message(WARNING," OpenNI2 library directory (set by OPENNI2_LIB_DIR variable) is not found or does not have OpenNI2 libraries.")
endif()
if(OPENNI2_INCLUDES)
set(OPENNI2_INCLUDE_DIR_INTERNAL"${OPENNI2_INCLUDE_DIR}"CACHEINTERNAL"This is the value of the last time OPENNI2_INCLUDE_DIR was set successfully."FORCE)
else()
message(WARNING," OpenNI2 include directory (set by OPENNI2_INCLUDE_DIR variable) is not found or does not have OpenNI2 include files.")