Ettercap / ettercap

Ettercap Project
http://www.ettercap-project.org
GNU General Public License v2.0
2.33k stars 488 forks source link

Use GNUInstallDirs for installation paths #1214

Closed h3xx closed 1 year ago

h3xx commented 1 year ago

(Almost) no guessing installation paths based on OS.

Lets the user override the sane defaults from GNUInstallDirs.

More information on GNUInstallDirs: https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html

Optional changes to configuration step (old options are still accepted):

If you specify none of these options, the installation paths should be the exact same except for CMAKE_INSTALL_LIBDIR which defaults to lib64 on 64-bit systems.

Tons of projects already use GNUInstallDirs. It's what packagers like myself expect.

LocutusOfBorg commented 1 year ago

thanks!