mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-13 22:36:35 -04:00
Support yaml-cpp 0.8.0
This commit is contained in:
parent
57bcb3e89d
commit
db16caa963
@ -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…
x
Reference in New Issue
Block a user