From acab61170f0cc22964a01ba6aba9717b2e249b70 Mon Sep 17 00:00:00 2001 From: zhangyang2057 Date: Fri, 22 Sep 2023 17:58:53 +0800 Subject: [PATCH] fix STREQUAL for linux python build. (#1100) --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 937f2bec33..b97e01e62c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,7 +19,7 @@ if(NOT DEFINED NNCASE_VERSION_SUFFIX) OUTPUT_VARIABLE GIT_TAG OUTPUT_STRIP_TRAILING_WHITESPACE) - if ("v${NNCASE_VERSION}" STREQUAL ${GIT_TAG}) + if ("v${NNCASE_VERSION}" STREQUAL "${GIT_TAG}") set(NNCASE_VERSION_SUFFIX "") else() execute_process(