From bbfe4ab66b745e216bdbfbd612a51f2d261e92c1 Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Fri, 10 Mar 2023 18:36:17 -0500 Subject: [PATCH] (#16389) Fix CMake variable check in OpenSSL test --- recipes/openssl/1.x.x/test_package/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/openssl/1.x.x/test_package/CMakeLists.txt b/recipes/openssl/1.x.x/test_package/CMakeLists.txt index 7109d02c5dd32..7fb310b9cb6d9 100644 --- a/recipes/openssl/1.x.x/test_package/CMakeLists.txt +++ b/recipes/openssl/1.x.x/test_package/CMakeLists.txt @@ -19,7 +19,7 @@ set(_custom_vars OPENSSL_VERSION ) foreach(_custom_var ${_custom_vars}) - if(DEFINED _custom_var) + if(DEFINED ${_custom_var}) message(STATUS "${_custom_var}: ${${_custom_var}}") else() message(FATAL_ERROR "${_custom_var} not defined")