mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-08 12:21:17 +00:00
Use VERSION on the CMake project (#733)
This sets the other variables: https://cmake.org/cmake/help/latest/command/project.html
This commit is contained in:

committed by
Jesse Beder

parent
e0e01d53c2
commit
90350662c9
@@ -9,13 +9,7 @@ include(CheckCXXCompilerFlag)
|
||||
###
|
||||
### Project settings
|
||||
###
|
||||
project(YAML_CPP)
|
||||
|
||||
set(YAML_CPP_VERSION_MAJOR "0")
|
||||
set(YAML_CPP_VERSION_MINOR "6")
|
||||
set(YAML_CPP_VERSION_PATCH "2")
|
||||
set(YAML_CPP_VERSION "${YAML_CPP_VERSION_MAJOR}.${YAML_CPP_VERSION_MINOR}.${YAML_CPP_VERSION_PATCH}")
|
||||
|
||||
project(YAML_CPP VERSION 0.6.2)
|
||||
|
||||
###
|
||||
### Project options
|
||||
|
Reference in New Issue
Block a user