TRIQS / nda

C++ library for multi-dimensional arrays
https://triqs.github.io/nda
Other
13 stars 11 forks source link

Including NDA through cmake triggers missing imported targets #26

Closed jasonkaye closed 1 year ago

jasonkaye commented 1 year ago

Using nda1.1 when I use find_package(nda required) in my cmake project I get the following error message:

CMake Error at programs/CMakeLists.txt:12 (find_package):
  Found package configuration file:

    /mnt/home/jkaye/opt/nda/lib/cmake/nda/nda-config.cmake

  but it set nda_FOUND to FALSE so package "nda" is considered to be NOT
  FOUND.  Reason given by package:

  The following imported targets are referenced, but are missing:
  cpp2py::cpp2py cpp2py::python_and_numpy
Wentzell commented 1 year ago

This was fixed in 152f849