martinus / unordered_dense

A fast & densely stored hashmap and hashset based on robin-hood backward shift deletion
MIT License
898 stars 72 forks source link

CMakeLists.txt: fix .cmake install path for better compatibility #41

Closed vowstar closed 1 year ago

vowstar commented 1 year ago

In some modern build processes, some tools (e.g. vcpkg) do not display the names under /usr/share/unordered_dense/cmake correctly, but /usr/lib64/cmake/unordered_dense works fine.

In many distributions, most libraries are installed to /usr/lib64/cmake/<EXPORT_NAME>, including header only libraries.

martinus commented 1 year ago

Thanks!