ソースを参照

fix wago port

Julius Pfrommer 10 年 前
コミット
73795e72f0
共有1 個のファイルを変更した2 個の追加2 個の削除を含む
  1. 2 2
      ports/WAGO-750-860.patch

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

@@ -43,8 +43,8 @@ index c785182..9e66da0 100644
 -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
--target_compile_definitions(open62541-objects PUBLIC UA_DYNAMIC_LINKING)
--target_compile_definitions(open62541-static PUBLIC UA_DYNAMIC_LINKING)
+-target_compile_definitions(open62541-objects PRIVATE UA_DYNAMIC_LINKING)
+-target_compile_definitions(open62541-static PRIVATE UA_DYNAMIC_LINKING)
 +add_library(open62541 $<TARGET_OBJECTS:open62541-objects>)
  
  ## logging