neperfepx / neper

Polycrystal generation and meshing
http://neper.info
GNU General Public License v3.0
198 stars 53 forks source link

CMAKE_INSTALL_PREFIX_COMPLETION completion path. #758

Closed nikishe closed 7 months ago

nikishe commented 9 months ago

src/CMakeLists.txt line number 38-42

if (CMAKE_SYSTEM_NAME MATCHES "Linux")
  set (CMAKE_INSTALL_PREFIX_COMPLETION "/usr/share" CACHE STRING "Installation directory of Bash completion files")
elseif (CMAKE_SYSTEM_NAME MATCHES "Darwin")
  set (CMAKE_INSTALL_PREFIX_COMPLETION "/usr/local/etc" CACHE STRING "Installation directory of Bash completion files")
endif()

Can you update neper to have this not hard coded / skippable as it will make installation on HPC systems easy using easybuild a joy.

rquey commented 7 months ago

With the last version, use cmake -DCMAKE_INSTALL_COMPLETION=OFF to disable.