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 b1f21c3 commit 4e177d2Copy full SHA for 4e177d2
1 file changed
src/main/java/com/eprosima/fastdds/idl/templates/SwigCMake.stg
@@ -71,7 +71,12 @@ target_link_libraries(\${PROJECT_NAME}
71
###############################################################################
72
# Python bindings for type
73
74
-find_package(SWIG REQUIRED)
+find_package(SWIG)
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