Skip to content

Commit

Permalink
Fix flow controllers utests compilation when using Fast CDR from thir…
Browse files Browse the repository at this point in the history
…dparty (#3979)

* Refs #19839: Fix flow controllers utests compilation when using Fast CDR from thirdparty

Signed-off-by: EduPonz <[email protected]>

* Refs #19839: Apply Ricardo's suggestions

Signed-off-by: EduPonz <[email protected]>

---------

Signed-off-by: EduPonz <[email protected]>
(cherry picked from commit a2e699c)
  • Loading branch information
EduPonz authored and mergify[bot] committed Nov 2, 2023
1 parent 1369e67 commit e7d812e
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions test/unittest/rtps/flowcontrol/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ target_include_directories(FlowControllerFactoryTests PRIVATE
${PROJECT_SOURCE_DIR}/include ${PROJECT_BINARY_DIR}/include
${PROJECT_SOURCE_DIR}/src/cpp
)
target_link_libraries(FlowControllerFactoryTests GTest::gmock)
target_link_libraries(FlowControllerFactoryTests
fastcdr
GTest::gmock
)
if(MSVC OR MSVC_IDE)
target_link_libraries(FlowControllerFactoryTests ${PRIVACY}
iphlpapi Shlwapi
Expand Down Expand Up @@ -72,7 +75,10 @@ target_include_directories(FlowControllerPublishModesTests PRIVATE
${PROJECT_SOURCE_DIR}/include ${PROJECT_BINARY_DIR}/include
${PROJECT_SOURCE_DIR}/src/cpp
)
target_link_libraries(FlowControllerPublishModesTests GTest::gmock)
target_link_libraries(FlowControllerPublishModesTests
fastcdr
GTest::gmock
)
if(MSVC OR MSVC_IDE)
target_link_libraries(FlowControllerPublishModesTests ${PRIVACY}
iphlpapi Shlwapi
Expand All @@ -96,7 +102,10 @@ target_include_directories(FlowControllerSchedulersTests PRIVATE
${PROJECT_SOURCE_DIR}/include ${PROJECT_BINARY_DIR}/include
${PROJECT_SOURCE_DIR}/src/cpp
)
target_link_libraries(FlowControllerSchedulersTests GTest::gmock)
target_link_libraries(FlowControllerSchedulersTests
fastcdr
GTest::gmock
)
if(MSVC OR MSVC_IDE)
target_link_libraries(FlowControllerSchedulersTests ${PRIVACY}
iphlpapi Shlwapi
Expand Down

0 comments on commit e7d812e

Please sign in to comment.