From 31bf4e3e9627a51832aceb73116b47beb79fc25b Mon Sep 17 00:00:00 2001 From: MoAlyousef Date: Thu, 19 Nov 2020 01:36:51 +0300 Subject: [PATCH] fix == error --- src/gen.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gen.cpp b/src/gen.cpp index 15a2ba0..f1b074c 100644 --- a/src/gen.cpp +++ b/src/gen.cpp @@ -182,9 +182,9 @@ int generate_cmake(const char *path) { } else if (first_arg == "tag") { first_arg = "GIT_TAG"; } else if (first_arg == "svn") { - first_arg == "SVN_REPOSITORY"; + first_arg = "SVN_REPOSITORY"; } else if (first_arg == "rev") { - first_arg == "SVN_REVISION"; + first_arg = "SVN_REVISION"; } else if (first_arg == "url") { first_arg = "URL"; } else if (first_arg == "hash") {