summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
author[email protected] <[email protected]>2019-07-04 15:14:19 +0800
committer[email protected] <[email protected]>2019-07-04 15:14:19 +0800
commit4d4eacf4275596a63191784d4b081db89bfb035d (patch)
treecb162bac523165975547ddcf737a9b327b37e009 /CMakeLists.txt
parent121c3bf03536d7a447107ecf093d4d31c173b7a8 (diff)
更新install路径HEADmaster
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1c01d9c..3b14b84 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -43,4 +43,5 @@ add_library(${plugin_name} SHARED ${SRC})
target_link_libraries(${plugin_name} ${DEPEND_DYN_LIB})
set_target_properties(${plugin_name} PROPERTIES PREFIX "")
-install(TARGETS ${plugin_name} DESTINATION ${CMAKE_SOURCE_DIR}/bin)
+install(TARGETS ${plugin_name} LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/plug/business/${plugin_name})
+install(FILES conf/${plugin_name}.inf DESTINATION ${CMAKE_INSTALL_PREFIX}/plug/business/${plugin_name})