norlab-ulaval / libnabo

A fast K Nearest Neighbor library for low-dimensional spaces
http://norlab-ulaval.github.io/libnabo/
BSD 3-Clause "New" or "Revised" License
431 stars 142 forks source link

CMake: more robust extraction of version #125

Closed SpaceIm closed 7 months ago

SpaceIm commented 1 year ago

Current implementation is fragile and makes little sense in case of cross-build (UNIX and WIN32 refer to host machine, while commands depend on build machine...).

ethzasl-jenkins commented 1 year ago

Can one of the admins verify this patch?

pomerlef commented 1 year ago

Ok to test