Skip to content

Commit

Permalink
(#16389) Fix CMake variable check in OpenSSL test
Browse files Browse the repository at this point in the history
  • Loading branch information
sfackler authored Mar 10, 2023
1 parent 811ff32 commit bbfe4ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/openssl/1.x.x/test_package/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit bbfe4ab

Please sign in to comment.