Hotfix CMake & ETL #604
find_package is used to find the ETL package, the target will be named
etl::etl. This is what I have seen in most installed packages.
etl is linked in that case, CMake will assume this is a system library and add
-letl, which of course does not work as etl is a header-only library.
It would be better if the ETL version fetched by
FetchContent would be located
etl namespace as well but I have not found a way to do this. This is due to the nature target names work if
FetchContent are used. I think there is an ongoing effort to improve
CMake in the context of mixing
For now, the cleanest solution I found to have the same target name is to simply introduce a new alias target.
I also bumped the revision to https://github.com/ETLCPP/etl/tree/20.27.3 .
The CMake install support in the ETL is new and another bump might be good soon (maybe for next major version 21, and then try to remain stable)
No due date set.
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?