diff options
| author | liuxueli <[email protected]> | 2020-05-01 09:35:31 +0800 |
|---|---|---|
| committer | liuxueli <[email protected]> | 2020-05-01 09:35:31 +0800 |
| commit | 7f4d564ebd35596cccc3beeef8b8329a2f5ece2e (patch) | |
| tree | 11f56fd96863e9d2c8c137beb0a36f88692b8c65 /CMakeLists.txt | |
| parent | 44211425f7e0a8bfe9ef1f7031580ec19e9bbc19 (diff) | |
增加变量lib_name,构造rpm包时使用
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 2ddbafa..a8b4645 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,7 @@ cmake_minimum_required (VERSION 2.8) -project(tsg_master) +set(lib_name tsg_master) +project($(lib_name)) set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake) include(Version) |
