Skip to content

Commit

Permalink
Avoid setting the project version is two separate locations.
Browse files Browse the repository at this point in the history
  • Loading branch information
greg7mdp committed Jul 31, 2023
1 parent 3847251 commit 489475c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
cmake_minimum_required(VERSION 3.12)
project(bn256 VERSION 1.1.0)
set(version 1.1.0)
project(bn256 VERSION ${version})

set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_EXTENSIONS ON)
Expand All @@ -18,7 +19,6 @@ if(BN256_ENABLE_TEST)
endif()

include(GNUInstallDirs)
set(version 1.1.0)
set_property(TARGET bn256 PROPERTY VERSION ${version})
set_property(TARGET bn256 PROPERTY SOVERSION 1)
set_property(TARGET bn256 PROPERTY
Expand Down

0 comments on commit 489475c

Please sign in to comment.