瀏覽代碼

Add runtime to install target (#1166)

Otherwise, using a shared build, the dll will be left out during install
step on Windows.
Maurice Kalinowski 7 年之前
父節點
當前提交
733dcad116
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      CMakeLists.txt

+ 1 - 0
CMakeLists.txt

@@ -615,6 +615,7 @@ install(TARGETS open62541
         EXPORT open62541Targets
         LIBRARY DESTINATION lib
         ARCHIVE DESTINATION lib
+        RUNTIME DESTINATION bin
         INCLUDES DESTINATION include/open62541 ${open62541_deps_dir})
 
 include(CMakePackageConfigHelpers)