georgmartius / vid.stab

Video stabilization library
http://public.hronopik.de/vid.stab/
Other
842 stars 108 forks source link

cmake: Use GNUInstallDirs module to control install directories #58

Closed mgorny closed 6 years ago

mgorny commented 6 years ago

Use the GNUInstallDirs module as a standard way to set install directories. It is available since CMake 2.8.5 (Jul 2011), and it works the same across many CMake-based packages, providing a single way to set and override install directories. It also does libdir detection automatically in a more reliable way.

That said, the previous detection code wrongly set 'LIBSUFFIX' instead of 'LIB_SUFFIX', so it did not work at all.

georgmartius commented 6 years ago

Great, thanks for fixing it.