瀏覽代碼

fix wago port

Julius Pfrommer 9 年之前
父節點
當前提交
acce5eedd3
共有 2 個文件被更改,包括 3 次插入5 次删除
  1. 1 1
      CMakeLists.txt
  2. 2 4
      ports/WAGO-750-860.patch

+ 1 - 1
CMakeLists.txt

@@ -89,7 +89,7 @@ if(EXTENSION_STATELESS)
     endif()
 endif()
 
-add_library(open62541-objects OBJECT ${lib_sources}) # static version that exports all symbols
+add_library(open62541-objects OBJECT ${lib_sources})
 add_library(open62541 SHARED $<TARGET_OBJECTS:open62541-objects>)
 add_library(open62541-static STATIC $<TARGET_OBJECTS:open62541-objects>)
 SET_TARGET_PROPERTIES(open62541-static PROPERTIES OUTPUT_NAME open62541 CLEAN_DIRECT_OUTPUT 1) # static version that exports all symbols

+ 2 - 4
ports/WAGO-750-860.patch

@@ -36,10 +36,10 @@ index c785182..9e66da0 100644
  	endif()
  endif()
  
-@@ -149,10 +149,7 @@ else()
+@@ -90,10 +90,7 @@ else()
  endif()
  
- add_library(open62541-objects OBJECT ${lib_sources}) 
+ add_library(open62541-objects OBJECT ${lib_sources})
 -add_library(open62541 SHARED $<TARGET_OBJECTS:open62541-objects>)
 -add_library(open62541-static STATIC $<TARGET_OBJECTS:open62541-objects>)
 -SET_TARGET_PROPERTIES(open62541-static PROPERTIES OUTPUT_NAME open62541 CLEAN_DIRECT_OUTPUT 1) # static version that exports all symbols
@@ -48,6 +48,3 @@ index c785182..9e66da0 100644
  
  ## logging
  set(UA_LOGLEVEL 400 CACHE STRING "Level at which logs shall be reported")
-2.2.0
-