CMake Error at /data/Debug/lib/cmake/xtensor/xtensorConfig.cmake:53 (target_link_libraries):
Cannot specify link libraries for target "xtensor" which is not built by this project.
Call Stack (most recent call first):
test/CMakeLists.txt:117 (find_package)
This PR fixes a few minor issues for
xtensor-blas
:xtensor_INCLUDE_DIR
should probably be namedxtensor_INCLUDE_DIRS
?CMAKE_BUILD_TYPE
should only be overwritten if not explicitly set by the userfind_package(xtensor REQUIRED)
in https://github.com/xtensor-stack/xtensor-blas/compare/master...BioDataAnalysis:emmenlau_minor_cmake_fixes?expand=1#diff-15547c54d3d4898a882b4ab7b3cee381L113 leads to compile errors like: