diff options
| author | yangwei <[email protected]> | 2019-07-04 15:08:04 +0800 |
|---|---|---|
| committer | yangwei <[email protected]> | 2019-07-04 15:08:04 +0800 |
| commit | 33c4a85e6deda55871d4ee63b5f9ca0acfa653cf (patch) | |
| tree | 413852231f16888c488b4e7e99f14c3483a51bfc | |
| parent | e4c12a10ee0e7c58e0eddc17183f7319e8a86daf (diff) | |
| -rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 7b01a5d..d3d1462 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -30,4 +30,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}) |
