You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is not going to work if I just link to Boost::iostreams. How should a consumer know that those libraries are needed?
If I am not mistaken, In modern CMake you would call find_dependencies(ZSTD::ZSTD $Version) and then link to the imported target in your exported CMake file.
This gets especially tricky with boost::regex and ICU, where I don't even know which version I should find in my own CMake script that is "finding" boost.
The text was updated successfully, but these errors were encountered:
jpfeuffer
changed the title
Exported CMake config should use targets and preferably find them on its own
Exported CMake config should use thirdparty lib targets and preferably find them on its own
May 23, 2023
This is not going to work if I just link to Boost::iostreams. How should a consumer know that those libraries are needed?
If I am not mistaken, In modern CMake you would call
find_dependencies(ZSTD::ZSTD $Version)
and then link to the imported target in your exported CMake file.This gets especially tricky with boost::regex and ICU, where I don't even know which version I should find in my own CMake script that is "finding" boost.
The text was updated successfully, but these errors were encountered: