Commit 90350662 authored by Andy Maloney's avatar Andy Maloney Committed by Jesse Beder
Browse files

Use VERSION on the CMake project (#733)

This sets the other variables:

 https://cmake.org/cmake/help/latest/command/project.html
parent e0e01d53
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment