Relative Content

Tag Archive for cmakenanobind

CMake Error: Cannot Link nanobind to Library

I’m trying to bind my C++ code with Python using nanobind. I have included <nanobind/nanobind.h> in my .cpp file, and I’m gonna share the content of the CMakeLists.txt in the python/ dir. The problem is that I cannot link nanobind to my library.