summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorliuxueli <[email protected]>2020-05-01 09:53:03 +0800
committer刘学利 <[email protected]>2020-05-01 10:46:16 +0800
commit288e76c43331fd70b43788f141d0c8e7702cc40c (patch)
tree6a0e4726e0f5f59349b2cf2078b50634e1001429
parentafab7b300566f50e8346bec8396b3ac82ad4fbbf (diff)
定义lib_name格式不正确,导致构造rpm失败
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a8b4645..cdf97ff 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,7 +1,7 @@
cmake_minimum_required (VERSION 2.8)
set(lib_name tsg_master)
-project($(lib_name))
+project(${lib_name})
set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)
include(Version)