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]>
  • Loading branch information
EduPonz authored Nov 2, 2023
1 parent 16e7d90 commit a2e699c
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 @@ -45,7 +45,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 @@ -73,7 +76,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 @@ -97,7 +103,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 a2e699c

Please sign in to comment.