Open cheng-chi opened 4 years ago
Hello @cheng-chi thank you for reporting. Which version are you using?
Hello @cheng-chi thank you for reporting. Which version are you using?
Thanks for the fast reply! I'm using 0.9.0. The problem can also be demonstrated by decompressing the conda-forge tarball (lib/cmake/xtensor-io/xtensor-ioTargets.cmake)
Indeed, everything should have anaconda1anaconda2anaconda3
instead, which is replaced by the correct path.
When using xtensor-io with conda, the INTERFACE_LINK_LIBRARIES in xtensor-ioTargets.cmake contains incorrect library paths such as "/home/conda/feedstock_root/build_artifacts/xtensor-io_1576590031955/_build_env/x86_64-conda_cos6-linux-gnu/sysroot/usr/lib/librt.so" and is causing linker errors. I'm using the linux64 package.