We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9572b9 commit 2dd6d51Copy full SHA for 2dd6d51
1 file changed
src/main/java/com/eprosima/fastdds/idl/templates/SwigCMake.stg
@@ -72,6 +72,11 @@ target_link_libraries(\${PROJECT_NAME}
72
# Python bindings for type
73
74
find_package(SWIG REQUIRED)
75
+if (NOT SWIG_FOUND)
76
+ # Trick to find swig4.1 in Ubuntu noble.
77
+ find_program(SWIG_EXECUTABLE NAMES swig4.1 swig)
78
+ find_package(SWIG REQUIRED)
79
+endif()
80
include(\${SWIG_USE_FILE})
81
set(CMAKE_SWIG_FLAGS "")
82
0 commit comments