Skip to content

Commit

Permalink
Remove yaml-cpp target library in fastddsspy tests package
Browse files Browse the repository at this point in the history
  • Loading branch information
irenebm committed Sep 11, 2024
1 parent b109f4b commit 566e53c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions fastddsspy_tool/test/application/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,12 @@ if(WIN32)

string(REPLACE ";" "\\;" TEST_ENVIRONMENT "${TEST_ENVIRONMENT}")

else()

# yaml-cpp changed its behavior in 0.8.0 (distributed in Ubuntu-24), so that the target changed from yaml-cpp to yaml-cpp::yaml-cpp .
# Instead of using each of these names depending on the OS, we simply remove it since it's actually not required.
string(REPLACE "$<TARGET_FILE_DIR:yaml-cpp>;" "" TEST_ENVIRONMENT "${TEST_ENVIRONMENT}")

endif(WIN32)

# compile AdvanceConfigurationExample needed for tests
Expand Down

0 comments on commit 566e53c

Please sign in to comment.