Skip to content

Commit

Permalink
Refs #18687. Fixing swig error on windows
Browse files Browse the repository at this point in the history
Signed-off-by: Ricardo González Moreno <[email protected]>
  • Loading branch information
richiware committed Sep 27, 2023
1 parent 360f475 commit 6a831fa
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
if: always()

ubuntu-build-test:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v2
Expand Down
1 change: 1 addition & 0 deletions fastdds_python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ set(CMAKE_SWIG_FLAGS "")

find_package (Python3 COMPONENTS Interpreter Development REQUIRED)

find_package(fastcdr 2 REQUIRED)
find_package(fastrtps 2.12 REQUIRED)

###############################################################################
Expand Down
2 changes: 1 addition & 1 deletion fastdds_python/colcon.pkg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "fastdds_python",
"type": "cmake",
"build-dependencies": ["fastcdr", "fastrtps"]
"build-dependencies": ["fastrtps"]
}
1 change: 1 addition & 0 deletions fastdds_python/src/swig/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ endif()

SWIG_LINK_LIBRARIES(${PROJECT_NAME}
Python3::Module
fastcdr
fastrtps
)

Expand Down

0 comments on commit 6a831fa

Please sign in to comment.