small tweaks to make replacing the CMakeLists.txt file work as expected

This commit is contained in:
Axel Kohlmeyer
2021-11-03 14:44:16 -04:00
parent 37dfc9e141
commit 62fc7b6fa0
2 changed files with 9 additions and 8 deletions

View File

@ -8,7 +8,7 @@ if(NOT YAML_FOUND)
# download and build a local copy of libyaml
include(ExternalCMakeProject)
ExternalCMakeProject(libyaml ${YAML_URL} ${YAML_MD5} libyaml . CMakeLists.libyaml)
ExternalCMakeProject(libyaml ${YAML_URL} ${YAML_MD5} yaml . CMakeLists.libyaml)
add_library(Yaml::Yaml ALIAS yaml)
endif()