From 8703798a315de92524c0439e271d64dccf2d638b Mon Sep 17 00:00:00 2001 From: Kumataro Date: Sun, 14 Nov 2021 13:18:38 +0900 Subject: [PATCH] julia: Determine availability based on whether the HAVE_JULIA is defined fix #3108. --- modules/julia/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/julia/CMakeLists.txt b/modules/julia/CMakeLists.txt index 77158cacd7d..fcf380d7d6f 100644 --- a/modules/julia/CMakeLists.txt +++ b/modules/julia/CMakeLists.txt @@ -1,4 +1,4 @@ -if(NOT HAVE_JULIA MATCHES "YES") +if(NOT HAVE_JULIA) message(STATUS "Julia not found. Not compiling Julia Bindings. ${HAVE_JULIA}") ocv_module_disable(julia) elseif(NOT PYTHON_DEFAULT_EXECUTABLE)