|
@@ -35,8 +35,8 @@ set(test_plugin_sources ${PROJECT_SOURCE_DIR}/plugins/ua_network_tcp.c
|
|
|
add_library(open62541-testplugins OBJECT ${test_plugin_sources})
|
|
|
add_dependencies(open62541-testplugins open62541)
|
|
|
|
|
|
-# Workaround some clang warnings in the unit tests
|
|
|
-if(CMAKE_COMPILER_IS_GNUCC OR "x${CMAKE_C_COMPILER_ID}" STREQUAL "xClang")
|
|
|
+# Workaround some clang warnings in the uni tests
|
|
|
+if((NOT ${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD") AND (CMAKE_COMPILER_IS_GNUCC OR "x${CMAKE_C_COMPILER_ID}" STREQUAL "xClang"))
|
|
|
add_definitions(-Wno-sign-conversion)
|
|
|
endif()
|
|
|
|
|
@@ -346,4 +346,4 @@ if (UA_ENABLE_FULL_NS0)
|
|
|
add_dependencies(check_nodeset_compiler_plc open62541-generator-tests-ns-plc)
|
|
|
target_link_libraries(check_nodeset_compiler_plc ${LIBS})
|
|
|
add_test_valgrind(check_nodeset_compiler_plc ${TESTS_BINARY_DIR}/check_nodeset_compiler_plc)
|
|
|
-endif()
|
|
|
+endif()
|