summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorzhuzhenjun <[email protected]>2023-10-13 09:45:46 +0800
committerzhuzhenjun <[email protected]>2023-10-13 10:24:25 +0800
commitcfaf003d4f32aa55d522e3f09dbd28aa020714a0 (patch)
tree701f0a4b7d76a332686842ffd291bc85342c2f25 /CMakeLists.txt
parent8b8627b0d8e06cb2d1073b2e86741dad8c39d4f6 (diff)
package: rpm name MESA_osfp -> libosfpv1.2.0
library: libMESA_osfp -> libosfp
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a87bc55..a500b69 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,11 +1,11 @@
cmake_minimum_required (VERSION 2.8)
-set(lib_name MESA_osfp)
+set(lib_name osfp)
project (${lib_name})
set(LIB_MAJOR_VERSION 1)
-set(LIB_MINOR_VERSION 1)
+set(LIB_MINOR_VERSION 2)
set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)
include(Version)
@@ -73,7 +73,7 @@ target_link_libraries(${lib_name}_test ${lib_name}_static)
enable_testing()
-add_test(NAME sample COMMAND MESA_osfp_sample)
-add_test(NAME test COMMAND MESA_osfp_test -f ../fp.json -t ../data.json)
+add_test(NAME sample COMMAND ${lib_name}_sample)
+add_test(NAME test COMMAND ${lib_name}_test -f ../fp.json -t ../data.json)
include(Package)