|
@@ -830,7 +830,10 @@ GET_PROPERTY(ua_architecture_add_definitions GLOBAL PROPERTY UA_ARCHITECTURE_ADD
|
|
add_definitions(${ua_architecture_add_definitions})
|
|
add_definitions(${ua_architecture_add_definitions})
|
|
|
|
|
|
GET_PROPERTY(ua_architecture_remove_definitions GLOBAL PROPERTY UA_ARCHITECTURE_REMOVE_DEFINITIONS)
|
|
GET_PROPERTY(ua_architecture_remove_definitions GLOBAL PROPERTY UA_ARCHITECTURE_REMOVE_DEFINITIONS)
|
|
-remove_definitions(${ua_architecture_remove_definitions})
|
|
|
|
|
|
+if (NOT "${ua_architecture_remove_definitions}" STREQUAL "")
|
|
|
|
+ string(REPLACE " " ";" ua_architecture_remove_definitions_list ${ua_architecture_remove_definitions})
|
|
|
|
+ remove_definitions(${ua_architecture_remove_definitions_list})
|
|
|
|
+endif(NOT "${ua_architecture_remove_definitions}" STREQUAL "")
|
|
|
|
|
|
GET_PROPERTY(ua_architecture_append_to_library GLOBAL PROPERTY UA_ARCHITECTURE_APPEND_TO_LIBRARY)
|
|
GET_PROPERTY(ua_architecture_append_to_library GLOBAL PROPERTY UA_ARCHITECTURE_APPEND_TO_LIBRARY)
|
|
list(APPEND open62541_LIBRARIES ${ua_architecture_append_to_library})
|
|
list(APPEND open62541_LIBRARIES ${ua_architecture_append_to_library})
|
|
@@ -838,7 +841,6 @@ list(APPEND open62541_LIBRARIES ${ua_architecture_append_to_library})
|
|
# DLL requires linking to dependencies
|
|
# DLL requires linking to dependencies
|
|
target_link_libraries(open62541 ${open62541_LIBRARIES})
|
|
target_link_libraries(open62541 ${open62541_LIBRARIES})
|
|
|
|
|
|
-
|
|
|
|
##########################
|
|
##########################
|
|
# Build Selected Targets #
|
|
# Build Selected Targets #
|
|
##########################
|
|
##########################
|