Advanced Computing Platform for Theoretical Physics

Commit 3ca2c844 authored by Yu-Chen Ding's avatar Yu-Chen Ding
Browse files

relocate crmc.param destination

parent 76f9dbbf
......@@ -147,7 +147,7 @@ SET (CRMC_HEADERS
${CMAKE_BINARY_DIR}/src/CRMCinterface.h)
include(GNUInstallDirs)
SET(CRMC_PARAM_DEFAULT ${CMAKE_INSTALL_PREFIX}/etc/crmc.param)
SET(CRMC_PARAM_DEFAULT ${CMAKE_INSTALL_PREFIX}/share/crmc/crmc.param)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
......@@ -488,7 +488,7 @@ CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/src/crmc.param.in
SET(CRMC_TABDIR "${CMAKE_INSTALL_PREFIX}/share/crmc")
CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/src/crmc.param.in
${CMAKE_BINARY_DIR}/crmc.param.install @ONLY IMMEDIATE)
install(FILES ${CMAKE_BINARY_DIR}/crmc.param.install DESTINATION etc
install(FILES ${CMAKE_BINARY_DIR}/crmc.param.install DESTINATION share/crmc
RENAME crmc.param)
# install tabs
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment