Skip to content

Commit

Permalink
fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
gpu committed Mar 31, 2024
1 parent 6036b65 commit e40807c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ include_directories(SYSTEM
)
endif ()

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DVSOMEIP_BOOST_VERSION=${VSOMEIP_BOOST_VERSION}")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wl,--no-undefined -DVSOMEIP_BOOST_VERSION=${VSOMEIP_BOOST_VERSION}")

find_package(PkgConfig)

Expand Down Expand Up @@ -289,6 +289,7 @@ file(GLOB ${VSOMEIP_NAME}_SRC
"implementation/runtime/src/*.cpp"
"implementation/security/src/*.cpp"
"implementation/utility/src/*.cpp"
"implementation/configuration/src/configuration_plugin.cpp"
)
if (VSOMEIP_ENABLE_MULTIPLE_ROUTING_MANAGERS EQUAL 1)
list(APPEND ${VSOMEIP_NAME}_SRC "implementation/configuration/src/configuration_impl.cpp")
Expand Down

0 comments on commit e40807c

Please sign in to comment.