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
CMake provides the option to write a package version file. The documentation for this can be found here.
I think this is really useful if FetchContent and find_package are used to find an installed ETL library. From what I have seen, I was not able to use the version feature, for example when providing a major version requirement like this:
find_package(etl 20 QUIET)
Could be that I misused the feature or did something wrong so correct me if I am wrong. If I omit the version number, CMake is able to find the installed ETL library without issues.
Also I think it would be nice if installation instructions are provided for CMake.
I followed the following steps to install a specific version of ETL
I hope this is not already something you have been working on, but I opened a PR which introduces a little bit of version handling to the CMake file: #522
Hi,
CMake provides the option to write a package version file. The documentation for this can be found here.
I think this is really useful if
FetchContent
andfind_package
are used to find an installed ETL library. From what I have seen, I was not able to use the version feature, for example when providing a major version requirement like this:Could be that I misused the feature or did something wrong so correct me if I am wrong. If I omit the version number, CMake is able to find the installed ETL library without issues.
Also I think it would be nice if installation instructions are provided for CMake.
I followed the following steps to install a specific version of ETL
The text was updated successfully, but these errors were encountered: