summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorQiuwen Lu <[email protected]>2017-04-12 14:42:58 +0800
committerQiuwen Lu <[email protected]>2017-04-12 14:42:58 +0800
commit00f24a934fe1dd6207c1f836a9ea9e6f2ed44246 (patch)
tree8b1fc0d23aa3088ca22698bdba402fa0fa5e918a /CMakeLists.txt
parent7f53b1e7e7e811fd8fbe1c866202839fe2b41b07 (diff)
修正环境启动脚本的Bug,增加了RPM包安装、卸载的环境配置脚本。v4.1.1-20170412
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 24d57fa..dcd17ae 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -32,7 +32,7 @@ set(MR_INSTALL_BINDIR ${CMAKE_INSTALL_PREFIX}/bin)
set(MR_INSTALL_LDCONFDIR /etc/ld.so.conf.d/)
set(MR_INSTALL_SYSUNITCONFDIR /etc/sysconfig/)
-exec_program(pkg-config ARGS systemd --variable=systemdsystemconfdir
+exec_program(pkg-config ARGS systemd --variable=systemdsystemunitdir
OUTPUT_VARIABLE MR_INSTALL_SYSUNITDIR)
add_subdirectory(${CMAKE_SOURCE_DIR}/support ${CMAKE_BINARY_DIR}/support)