From b9d403c201b2e73498c68e2896fd4beff507db0f Mon Sep 17 00:00:00 2001 From: Mohammed Alyousef Date: Tue, 15 Sep 2020 21:13:00 +0300 Subject: [PATCH] fix GA build --- src/gen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gen.cpp b/src/gen.cpp index e691fee..2be9aed 100644 --- a/src/gen.cpp +++ b/src/gen.cpp @@ -49,7 +49,7 @@ int generate_project(const char *str) { const auto tomlbuf = detail::format(cmake_toml, dir_name.c_str(), dir_name.c_str(), str); if (!strcmp(str, "exe")) { mainbuf = detail::format(hello_world, "main"); - } else if (!strcmp(str, "static") || !strcmp(str, "shared") !strcmp(str, "lib")) { + } else if (!strcmp(str, "static") || !strcmp(str, "shared") || !strcmp(str, "lib")) { mainbuf = detail::format(hello_world, "test"); } else if (!strcmp(str, "interface")) { // Nothing special!