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:
parent
57bcb3e89d
commit
db16caa963
1 changed files with 6 additions and 1 deletions
|
@ -520,10 +520,15 @@ target_link_libraries(components
|
||||||
SQLite::SQLite3
|
SQLite::SQLite3
|
||||||
smhasher
|
smhasher
|
||||||
${ICU_LIBRARIES}
|
${ICU_LIBRARIES}
|
||||||
yaml-cpp
|
|
||||||
ZLIB::ZLIB
|
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)
|
if(Boost_VERSION_STRING VERSION_GREATER_EQUAL 1.77.0)
|
||||||
target_link_libraries(components ${Boost_ATOMIC_LIBRARY})
|
target_link_libraries(components ${Boost_ATOMIC_LIBRARY})
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in a new issue