Skip to content

Commit

Permalink
Refs #21268. Regenerate code
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 Jul 1, 2024
1 parent 0ad0cf0 commit c0b2a42
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
15 changes: 15 additions & 0 deletions fastdds_python/test/types/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ target_link_libraries(${PROJECT_NAME}
# Python bindings for type

find_package(SWIG REQUIRED)
if (NOT SWIG_FOUND)
# Trick to find swig4.1 in Ubuntu noble.
find_program(SWIG_EXECUTABLE NAMES swig4.1 swig)
find_package(SWIG REQUIRED)
endif()
include(${SWIG_USE_FILE})
set(CMAKE_SWIG_FLAGS "")

Expand Down Expand Up @@ -149,6 +154,11 @@ target_link_libraries(${PROJECT_NAME}
# Python bindings for type

find_package(SWIG REQUIRED)
if (NOT SWIG_FOUND)
# Trick to find swig4.1 in Ubuntu noble.
find_program(SWIG_EXECUTABLE NAMES swig4.1 swig)
find_package(SWIG REQUIRED)
endif()
include(${SWIG_USE_FILE})
set(CMAKE_SWIG_FLAGS "")

Expand Down Expand Up @@ -250,6 +260,11 @@ target_link_libraries(${PROJECT_NAME}
# Python bindings for type

find_package(SWIG REQUIRED)
if (NOT SWIG_FOUND)
# Trick to find swig4.1 in Ubuntu noble.
find_program(SWIG_EXECUTABLE NAMES swig4.1 swig)
find_package(SWIG REQUIRED)
endif()
include(${SWIG_USE_FILE})
set(CMAKE_SWIG_FLAGS "")

Expand Down
5 changes: 5 additions & 0 deletions fastdds_python_examples/HelloWorldExample/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ target_link_libraries(${PROJECT_NAME}
# Python bindings for type

find_package(SWIG REQUIRED)
if (NOT SWIG_FOUND)
# Trick to find swig4.1 in Ubuntu noble.
find_program(SWIG_EXECUTABLE NAMES swig4.1 swig)
find_package(SWIG REQUIRED)
endif()
include(${SWIG_USE_FILE})
set(CMAKE_SWIG_FLAGS "")

Expand Down

0 comments on commit c0b2a42

Please sign in to comment.