mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-09 04:41:16 +00:00
Use de-facto standard CMake namespace convention (#792)
Change the namespace from yaml::yaml to yaml-cpp::yaml-cpp.
This commit is contained in:

committed by
Jesse Beder

parent
5b3e30bfe9
commit
587b24e2ee
@@ -61,7 +61,7 @@ set(msvc-rt-mt-dll $<STREQUAL:${msvc-rt},MultiThreadedDLL>)
|
|||||||
set(backport-msvc-runtime $<VERSION_LESS:${CMAKE_VERSION},3.15>)
|
set(backport-msvc-runtime $<VERSION_LESS:${CMAKE_VERSION},3.15>)
|
||||||
|
|
||||||
add_library(yaml-cpp ${yaml-cpp-type} "")
|
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
|
set_property(TARGET yaml-cpp
|
||||||
PROPERTY
|
PROPERTY
|
||||||
|
Reference in New Issue
Block a user