summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt3
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})