From ebf13b39e5cd9d09a2fe44b9ff16b174fae25356 Mon Sep 17 00:00:00 2001 From: Tomoaki Teshima Date: Tue, 18 Apr 2017 19:31:57 +0900 Subject: [PATCH] fix build error on ODROID-X2 --- cmake/OpenCVFindLAPACK.cmake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmake/OpenCVFindLAPACK.cmake b/cmake/OpenCVFindLAPACK.cmake index 09cd66cdae..e281b4b78c 100644 --- a/cmake/OpenCVFindLAPACK.cmake +++ b/cmake/OpenCVFindLAPACK.cmake @@ -136,6 +136,10 @@ if(WITH_LAPACK) unset(LAPACK_LIBRARIES) unset(LAPACK_LIBRARIES CACHE) endif() + else() + # LAPACK not found + unset(LAPACK_LIBRARIES) + unset(LAPACK_LIBRARIES CACHE) endif() endif()