Add DEPENDENCY_ADDED property (#50)

* add DEPENDENCY_ADDED property

* update examples

* Update README.md

* Update README.md

* Update CPM.cmake

* Update README.md
This commit is contained in:
Lars Melchior
2019-05-20 01:52:55 +02:00
committed by GitHub
parent 275a12f2d8
commit bf5e9ebafb
6 changed files with 36 additions and 20 deletions

View File

@@ -7,15 +7,15 @@ include(../../cmake/CPM.cmake)
CPMAddPackage(
NAME yaml-cpp
GIT_REPOSITORY https://github.com/jbeder/yaml-cpp.git
# 0.6.2 uses old CMake syntax
# 0.6.2 uses depricated CMake syntax
VERSION 0.6.3
# 0.6.3 not released yet
# 0.6.3 is not released yet, so use the most recent commit
GIT_TAG 012269756149ae99745b6dafefd415843d7420bb
OPTIONS
"YAML_CPP_BUILD_TESTS Off"
"YAML_CPP_BUILD_CONTRIB Off"
"YAML_CPP_BUILD_TOOLS Off"
)
)
# ---- Executable ----