summaryrefslogtreecommitdiffstats
path: root/configserver/CMakeLists.txt
diff options
context:
space:
mode:
authorHarald Musum <musum@verizonmedia.com>2019-03-26 12:15:11 +0100
committerHarald Musum <musum@verizonmedia.com>2019-03-26 12:15:11 +0100
commitcfa1a5ebd79250a8e571579c0f19eb2565e1d29c (patch)
tree000e6008092f39b6f59541a1d8ab3a91e89900a9 /configserver/CMakeLists.txt
parent516af392068b14eaf80624eb32d236767e2311e3 (diff)
Install jar and symlink from config server app
Diffstat (limited to 'configserver/CMakeLists.txt')
-rw-r--r--configserver/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/configserver/CMakeLists.txt b/configserver/CMakeLists.txt
index fe905ced973..accc313dcae 100644
--- a/configserver/CMakeLists.txt
+++ b/configserver/CMakeLists.txt
@@ -12,6 +12,7 @@ install(DIRECTORY src/main/resources/configserver-app DESTINATION conf)
install(CODE "execute_process(COMMAND mkdir -p \$ENV{DESTDIR}/\${CMAKE_INSTALL_PREFIX}/conf/configserver-app/components)")
install(CODE "execute_process(COMMAND mkdir -p \$ENV{DESTDIR}/\${CMAKE_INSTALL_PREFIX}/conf/configserver-app/config-models)")
+install(CODE "execute_process(COMMAND ln -snf \${CMAKE_INSTALL_PREFIX}/lib/jars/athenz-identity-provider-service-jar-with-dependencies.jar \$ENV{DESTDIR}/\${CMAKE_INSTALL_PREFIX}/conf/configserver-app/components/athenz-identity-provider-service.jar)")
install(CODE "execute_process(COMMAND ln -snf \${CMAKE_INSTALL_PREFIX}/lib/jars/config-model-fat.jar \$ENV{DESTDIR}/\${CMAKE_INSTALL_PREFIX}/conf/configserver-app/components/config-model-fat.jar)")
install(CODE "execute_process(COMMAND ln -snf \${CMAKE_INSTALL_PREFIX}/lib/jars/configserver-jar-with-dependencies.jar \$ENV{DESTDIR}/\${CMAKE_INSTALL_PREFIX}/conf/configserver-app/components/configserver.jar)")
install(CODE "execute_process(COMMAND ln -snf \${CMAKE_INSTALL_PREFIX}/lib/jars/configserver-flags-jar-with-dependencies.jar \$ENV{DESTDIR}/\${CMAKE_INSTALL_PREFIX}/conf/configserver-app/components/configserver-flags.jar)")