Explorar el Código

fix wago port

Julius Pfrommer hace 10 años
padre
commit
73795e72f0
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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