diff options
| author | yangwei <[email protected]> | 2019-07-04 15:14:55 +0800 |
|---|---|---|
| committer | yangwei <[email protected]> | 2019-07-04 15:14:55 +0800 |
| commit | 5920fe720748561cf041086d1a4e0cedbb06b2f1 (patch) | |
| tree | 2eedac8b7f82845c1701ac972ac903bc77cf0285 | |
| parent | 940818f6435266bf6de71a37158b3a8a3398f9f9 (diff) | |
| -rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index f9553cb..979f897 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -45,4 +45,5 @@ set_target_properties(${plugin_name} PROPERTIES LINK_FLAGS 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}) |
