Skip to content

Commit

Permalink
fix: Universal macOS build failing due to unquoted architectures stri…
Browse files Browse the repository at this point in the history
…ng (#42)
  • Loading branch information
Steveice10 committed Jan 7, 2023
1 parent 13ce3df commit 15798ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cryptopp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ function(check_target_architecture output pattern)
include(TargetArch)
target_architecture(target_arch)
string(TOLOWER ${target_arch} target_arch)
if(${target_arch} MATCHES ${pattern})
if("${target_arch}" MATCHES ${pattern})
message(
STATUS
"[cryptopp] Target architecture detected as: ${target_arch} -> ${output}"
Expand Down

0 comments on commit 15798ac

Please sign in to comment.