CMake:
[obnox/wireshark/wip.git] / plugins / ethercat / CMakeLists.txt
index cf52064324249410f46609baced6ec17ebda5777..97e5362c1f0c254cba3fb87e119057563f892ac3 100644 (file)
@@ -73,3 +73,9 @@ add_library(ethercat MODULE
        ${PLUGIN_FILES}
 )
 
+install(TARGETS ethercat
+        LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/@CPACK_PACKAGE_NAME@/plugins/${CPACK_PACKAGE_VERSION}
+        RUNTIME DESTINATION ${CMAKE_INSTALL_LIBDIR}/@CPACK_PACKAGE_NAME@/plugins/${CPACK_PACKAGE_VERSION}
+        ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}/@CPACK_PACKAGE_NAME@/plugins/${CPACK_PACKAGE_VERSION}
+)
+