diff --git a/CMakeLists.txt b/CMakeLists.txt index 2fbf7939c..89df7dded 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -135,6 +135,9 @@ add_library(omc::3rd::Modelica::IO ALIAS ModelicaIO) add_library(omc::3rd::Modelica::StandardTables ALIAS ModelicaStandardTables) +omc_add_subdirectory(open62541) +add_library(omc::3rd::opcua ALIAS opcua) + # Intel TBB # set(TBB_BUILD_TESTS OFF CACHE BOOL "Build TBB tests and enable testing infrastructure") # set(TBB_BUILD_SHARED OFF CACHE BOOL "Build TBB shared library") diff --git a/open62541/CMakeLists.txt b/open62541/CMakeLists.txt new file mode 100644 index 000000000..911e96018 --- /dev/null +++ b/open62541/CMakeLists.txt @@ -0,0 +1,7 @@ +cmake_minimum_required(VERSION 3.14) +project(opcua) + +add_library(opcua STATIC) +target_sources(opcua PRIVATE open62541.c) + +target_include_directories(opcua PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})