1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-04-27 14:36:49 +00:00

Support yaml-cpp 0.8.0

This commit is contained in:
elsid 2023-08-18 13:53:25 +02:00
parent 57bcb3e89d
commit db16caa963
No known key found for this signature in database
GPG key ID: 4DE04C198CBA7625

View file

@ -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()