Open Roy-Kid opened 5 months ago
I think FetchContent
is work for xtl
and xtensor
, but not for xtensor-blas
FetchContent_Declare(
xtensor-blas
GIT_REPOSITORY https://github.com/xtensor-stack/xtensor-blas.git
)
FetchContent_MakeAvailable(xtensor-blas)
error:
local xtensor-blas not found, downloading from github...
-- xtensor-blas v0.21.0
-- Found xtensor v0.25.0
CMake Warning (dev) at build/dev/_deps/xtensor-blas-src/CMakeLists.txt:163 (set):
uninitialized variable '_XTENSOR_CMAKE_SIZEOF_VOID_P'
This warning is for project developers. Use -Wno-dev to suppress it.
Hi everyone,
I try to use cmake to manage my all dependencies. Here is the code I want it to download xtensor and related packages automatically if find_package is failed:
It seems
xtensor
is found, but still error raises:Can you give a receipt about integrating xtensor using cmake instead of conda? I also tried spack, but it was also a little difficult to get a head-only file.