Skip to content

Fix initialization script to work on systems with alternative library directory naming

Luis Antonio Obis Aparicio requested to merge lobisapa/garfieldpp:master into master

@hschindl

Currently the main CMakeLists.txt in Garfield installs the libraries into ${CMAKE_INSTALL_LIBDIR}, however the setupGarfield.sh/csh script assumes these libraries are present at $GARFIELD_INSTALL/lib which is not always the case. In some systems the libraries will be installed at $GARFIELD_INSTALL/lib64, making the initialization script fail.

This changes should fix this problem.

Edited by Luis Antonio Obis Aparicio

Merge request reports