Skip to content

Commit

Permalink
fix(build): align inclusion of architecture.h
Browse files Browse the repository at this point in the history
Co-authored-by: Noel Graf <[email protected]>
Signed-off-by: Goetz Goerisch <[email protected]>
  • Loading branch information
GoetzGoerisch and NoelGraf committed Nov 20, 2024
1 parent be4972d commit 3d31ca4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ endif()

if(MINGW)
# GCC stack protector support
list(APPEND open62541_LIBRARIES ssp)
list(APPEND open62541_LIBRARIES ws2_32 ssp)
endif()

#####################
Expand Down Expand Up @@ -877,6 +877,7 @@ endif()

if (NOT "${UA_ARCHITECTURE}" STREQUAL "none")
list(PREPEND lib_headers ${PROJECT_SOURCE_DIR}/arch/posix/ua_architecture.h)
list(PREPEND lib_headers ${PROJECT_SOURCE_DIR}/arch/win32/ua_architecture.h)
endif()

if(UA_ENABLE_PARSING)
Expand Down Expand Up @@ -964,7 +965,6 @@ set(architecture_sources)

if(NOT "${UA_ARCHITECTURE}" STREQUAL "none")
list(APPEND architecture_headers
${PROJECT_SOURCE_DIR}/arch/win32/ua_architecture.h
${PROJECT_SOURCE_DIR}/arch/common/ua_timer.h
${PROJECT_SOURCE_DIR}/arch/eventloop_common.h
${PROJECT_SOURCE_DIR}/arch/eventloop_posix.h)
Expand Down

0 comments on commit 3d31ca4

Please sign in to comment.