Skip to content

Commit

Permalink
fix typo in test for CMAKE_FIND_PACKAGE_PREFER_CONFIG
Browse files Browse the repository at this point in the history
  • Loading branch information
gdamore committed Feb 18, 2024
1 parent bb15006 commit 8e5850b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/supplemental/tls/mbedtls/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ if (NNG_TLS_ENGINE STREQUAL "mbed")
# mbedTLS v3 has a config file, which should work better than
# what we do here. We do restore the setting though because
# user applications might not expect this.
if (NOT CMAKE_FIND_PAKCAGE_PREFER_CONFIG)
if (NOT CMAKE_FIND_PACKAGE_PREFER_CONFIG)
set(CMAKE_FIND_PACKAGE_PREFER_CONFIG TRUE)
find_package(MbedTLS REQUIRED)
set(CMAKE_FIND_PACKAGE_PREFER_CONFIG FALSE)
Expand Down

0 comments on commit 8e5850b

Please sign in to comment.