summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
author刘学利 <[email protected]>2020-09-16 12:05:21 +0800
committer刘学利 <[email protected]>2020-09-16 12:05:21 +0800
commit00c04d6454d294a1bd2102375d7015a45bbf3a1e (patch)
tree3c57ea25c77865e652c5fcb680c2138fb42f4f1c /CMakeLists.txt
parentc72015182fcb115732f716b739113d690e6c68ed (diff)
修正返回插件管理的返回值
修复安装和卸载时报错
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5ca1afc..8e0c167 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -51,7 +51,7 @@ set(CPACK_RPM_LIBRARY_USER_FILELIST "%config(noreplace) ${CMAKE_INSTALL_PREFIX}/
)
set(CMAKE_INSTALL_PREFIX /home/mesasoft/sapp_run)
-install(TARGETS dns LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/plug/protocol/dns COMPONENT LIBRARY)
+install(TARGETS dns LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/plug/protocol/dns COMPONENT LIBRARIES)
install(FILES bin/dns.inf DESTINATION ${CMAKE_INSTALL_PREFIX}/plug/protocol/dns COMPONENT PROFILE)
install(FILES bin/dns.conf DESTINATION ${CMAKE_INSTALL_PREFIX}/conf/dns COMPONENT PROFILE)
install(FILES include/dns.h DESTINATION /opt/MESA/include/MESA COMPONENT HEADER)
@@ -65,7 +65,7 @@ install(FILES include/dns.h DESTINATION /opt/MESA/include/MESA COMPONENT HEADER)
#set_target_properties(dns_test PROPERTIES PREFIX "")
#target_link_libraries(dns_test ${DNS_DEPEND_DYN_LIB})
-#install(TARGETS dns_test LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/plug/business/dns_test COMPONENT LIBRARY)
+#install(TARGETS dns_test LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/plug/business/dns_test COMPONENT LIBRARIES)
#install(FILES test/bin/dns_test.inf DESTINATION ${CMAKE_INSTALL_PREFIX}/plug/business/dns_test COMPONENT PROFILE)
include(Package)