Skip to content

Commit

Permalink
Fix CMakeLists configuration of OPCUA A&C and Events Layer
Browse files Browse the repository at this point in the history
  • Loading branch information
m-meingast committed Jan 21, 2025
1 parent 6027ab0 commit 652e83b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/com/opc_ua/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ if (FORTE_COM_OPC_UA)
forte_add_handler(COPC_UA_Local_Handler opcua_local_handler)
forte_add_handler(COPC_UA_Remote_Handler opcua_remote_handler)
# OPC UA Event Layer
forte_add_network_layer(OPC_UA_Events ON "ua_ev" COPC_UA_Event_Layer opcua_event_layer "Enable OPC UA Event Support")
forte_add_network_layer(OPC_UA_AC ON "ua_ac" COPC_UA_AC_Layer opcua_ac_layer "Enable OPC UA A&C Support")
forte_add_sourcefile_hcpp(opcua_layer opcua_local_handler opcua_helper opcua_remote_handler opcua_handler_abstract opcua_client_information opcua_action_info opcua_objectstruct_helper
opcua_event_layer opcua_ac_layer opcua_client_config_parser)
forte_add_network_layer(OPC_UA_Events OFF "ua_ev" COPC_UA_Event_Layer opcua_event_layer "Enable OPC UA Event Support")
forte_add_network_layer(OPC_UA_AC OFF "ua_ac" COPC_UA_AC_Layer opcua_ac_layer "Enable OPC UA A&C Support")
forte_add_sourcefile_hcpp(opcua_local_handler opcua_helper opcua_remote_handler opcua_handler_abstract opcua_client_information opcua_action_info opcua_objectstruct_helper
opcua_client_config_parser)
if (NOT EXISTS ${FORTE_COM_OPC_UA_INCLUDE_DIR})
message(SEND_ERROR "FORTE_COM_OPC_UA_INCLUDE_DIR not set or does not exist")
endif (NOT EXISTS ${FORTE_COM_OPC_UA_INCLUDE_DIR})
Expand Down

0 comments on commit 652e83b

Please sign in to comment.