Skip to content

Commit

Permalink
CMake: add the version at the top
Browse files Browse the repository at this point in the history
CPack will also use it.
  • Loading branch information
certik committed Jun 7, 2020
1 parent 921693a commit 62ee96a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.10 FATAL_ERROR)

set(CMAKE_USER_MAKE_RULES_OVERRIDE ${CMAKE_SOURCE_DIR}/cmake/UserOverride.cmake)

project(lfortran C CXX)
project(lfortran LANGUAGES C CXX VERSION 0.1.16)

set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)

Expand All @@ -28,9 +28,6 @@ endif ()
include(InstallRequiredSystemLibraries)
set(CPACK_GENERATOR "TBZ2")
set(CPACK_STRIP_FILES YES)
set (CPACK_PACKAGE_VERSION_MAJOR "0")
set (CPACK_PACKAGE_VERSION_MINOR "1")
set (CPACK_PACKAGE_VERSION_PATCH "16")
include(CPack)


Expand Down

0 comments on commit 62ee96a

Please sign in to comment.