martinus/nanobench

Setup with vcpkg

james-mxr opened this issue · 0 comments

Trying to add nanobench via vcpkg manifest yields bizarre results.
vcpkg manifest dependency looks like so,

...
    "dependencies": [
        "xtensor-blas",
        "nanobench",
        {
            "name": "highfive",
            "default-features": false,
            "features": [ "xtensor" ]
        },
...

It only seems to be happy if I don't add anything to CMake at all.
If I try to find_package(nanobench) or link against nanobench it complains that it can't be found or that I have to add to CMake_Prefix_List etc

Is not having anything setup against it in CMake standard practice for this or is there some wizardry going on?