Don't abort build if OpenVR cannot be found

This commit is contained in:
WarmUpTill 2022-01-04 23:27:55 +01:00 committed by WarmUpTill
parent 59e1ddd31e
commit bd52ef8e84

View File

@ -9,9 +9,10 @@ if(OpenCV_FOUND)
else()
set(OpenCV_LIBRARIES "")
message(
FATAL
"OpenCV not found! Functionality relying on OpenCV will be disabled!\nOpenCV sources are available under: ${CMAKE_CURRENT_SOURCE_DIR}/deps/opencv"
WARNING
"OpenCV not found! Functionality relying on OpenCV will be disabled!\nOpenCV sources are available under: ${CMAKE_CURRENT_SOURCE_DIR}/deps/opencv"
)
return()
endif()
include_directories("${CMAKE_CURRENT_SOURCE_DIR}/../../headers")