-
Notifications
You must be signed in to change notification settings - Fork 266
xsimd install with xtensor dependency results in a broken CMake target file #869
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for reporting! I think we should add the missing properties in the CMakeLists.txt when |
CMake doesn't generate |
Actually the call to
Sorry to read that, I hope you're feeling better! |
https://forum.kde.org/viewtopic.php?f=288&t=176722&p=459505#p459505 and compile line looks like https://invent.kde.org/-/snippets/2224. Both point to |
PR xtensor-stack#788 fixes xtl lookup by adding the corresponding find_dependency call. However, there are still two issues remaining: - If xtl is not found, the INTERFACE_LINK_LIBRARIES property will make CMake interpret "xtl" as a .lib, pass it as a -l flag, and cause the build to fail. - If xtl is used, the required definition XSIMD_ENABLE_XTL_COMPLEX=1 is never passsed to downstream consumers. This commit fixes both issues, ensuring that if xtl was required at compile time, the Config module with not load unless xtl is also found. Fixes xtensor-stack#869
👋
I've just been told at Krita that Debian (and Ubuntu by extension)'s packaging of xsimd does not work to build Krita. I see in the Debian source that they're using
-DENABLE_XTL_COMPLEX=ON
to enable the xtl dependency, but in the xsimd-targets.cmake file, I readwith absolutely no reference to xtl-targets.cmake or the relevant
find_package
line.I'm not sure if this is a xsimd or Debian packaging issue, but reporting it FYI.
The text was updated successfully, but these errors were encountered: