mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-04-21 17:47:28 -05:00
Don't abort build if OpenVR cannot be found
This commit is contained in:
parent
59e1ddd31e
commit
bd52ef8e84
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user