Use de-facto standard CMake namespace convention (#792)

Change the namespace from yaml::yaml to yaml-cpp::yaml-cpp.
This commit is contained in:
Carlos Gomes Martinho
2019-11-30 00:02:21 +01:00
committed by Jesse Beder
parent 5b3e30bfe9
commit 587b24e2ee

View File

@@ -61,7 +61,7 @@ set(msvc-rt-mt-dll $<STREQUAL:${msvc-rt},MultiThreadedDLL>)
set(backport-msvc-runtime $<VERSION_LESS:${CMAKE_VERSION},3.15>)
add_library(yaml-cpp ${yaml-cpp-type} "")
add_library(yaml::yaml ALIAS yaml-cpp)
add_library(yaml-cpp::yaml-cpp ALIAS yaml-cpp)
set_property(TARGET yaml-cpp
PROPERTY