kakwa / libvisio2svg

Library/Tools to convert Microsoft (MS) Visio documents (VSS and VSD) to SVG
GNU General Public License v2.0
112 stars 20 forks source link

Added variables for library and binary installation directory #20

Closed spike77453 closed 6 years ago

spike77453 commented 6 years ago

This adds a variable to the library and binary installation directory so they can be easily overridden on command line invocation of cmake. I'm not sure about other distribution ecosystems, but in Fedora/RHEL/CentOS the cmake rpm macros set LIB_INSTALL_DIR depending on target architecture, so this would place the shared object(s) in the correct directories (currently they are placed in ${prefix}/lib which might be wrong in most cases, since nowadays it's most likely ${prefix}/lib64). Note that this leaves the default values untouched just as they were before (both default to 'lib') if the variables are not set.