From 7f0d94798d51c677ea7ba1cd59726f35d5c1c309 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sun, 8 Nov 2020 10:00:20 +0200 Subject: [PATCH] - fail CMake configuration process if libvpx was not found This helps to avoid #160 --- source/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt index c7dcb5863..a94deb3df 100644 --- a/source/CMakeLists.txt +++ b/source/CMakeLists.txt @@ -450,6 +450,8 @@ if( VPX_FOUND ) add_definitions( "-DUSE_LIBVPX=1" ) include_directories( "${VPX_INCLUDE_DIR}" ) set( PROJECT_LIBRARIES ${PROJECT_LIBRARIES} ${VPX_LIBRARIES} ) +else() + message( SEND_ERROR "Could not find libvpx" ) endif()