mirror of
https://github.com/OpenMW/openmw.git
synced 2025-04-27 18:36:49 +00:00
Support yaml-cpp 0.8.0
This commit is contained in:
parent
57bcb3e89d
commit
db16caa963
1 changed files with 6 additions and 1 deletions
|
@ -520,10 +520,15 @@ target_link_libraries(components
|
|||
SQLite::SQLite3
|
||||
smhasher
|
||||
${ICU_LIBRARIES}
|
||||
yaml-cpp
|
||||
ZLIB::ZLIB
|
||||
)
|
||||
|
||||
if(yaml-cpp_VERSION VERSION_GREATER_EQUAL 0.8.0)
|
||||
target_link_libraries(components yaml-cpp::yaml-cpp)
|
||||
else()
|
||||
target_link_libraries(components yaml-cpp)
|
||||
endif()
|
||||
|
||||
if(Boost_VERSION_STRING VERSION_GREATER_EQUAL 1.77.0)
|
||||
target_link_libraries(components ${Boost_ATOMIC_LIBRARY})
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue