dajobe / raptor

Redland Raptor RDF syntax library
https://librdf.org/raptor/
Other
156 stars 62 forks source link

use GNUInstallDirs for install paths #36

Closed elelayan closed 7 years ago

elelayan commented 7 years ago

to be able to install libraptor2.a and raptor2.pc to a specific directory when cross-compiling

dajobe commented 7 years ago

cmake is primarily for building on windows, so does this change using cmake on windows? I don't use it so can't test that.

elelayan commented 7 years ago

As far as I can tell it doesn't change anything on windows: GNUInstallDirs defaults

The only change: CMAKE_INSTALL_LIBDIR is lib64 when on Linux (not Debian) 64bits when not cross-compiling.

The point is to be able to override these variables on the command-line (e.g. pass -DCMAKE_INSTALL_LIBDIR=libarm to cmake).