dyne / frei0r

A large collection of free and portable video plugins
https://frei0r.dyne.org/
GNU General Public License v2.0
437 stars 91 forks source link

Include GNUInstallDirs before using CMAKE_INSTALL_LIBDIR #82

Closed rrrapha closed 5 years ago

rrrapha commented 5 years ago

This fixes the install directories when CMAKE_INSTALL_LIBDIR is not specified:

$ cmake .
$ make install
...
-- Installing: /usr/local/mylibdir/pkgconfig/frei0r.pc
-- Installing: /frei0r-1/facebl0r.so
-- Installing: /frei0r-1/facedetect.so
...

(Tested on OpenBSD)

ddennedy commented 5 years ago

Of course! thanks