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 3041463 commit 0ad0cf0Copy full SHA for 0ad0cf0
1 file changed
fastdds_python/CMakeLists.txt
@@ -36,7 +36,13 @@ endif()
36
# Dependencies
37
###############################################################################
38
39
-find_package(SWIG REQUIRED)
+find_package(SWIG)
40
+if (NOT SWIG_FOUND)
41
+ # Trick to find swig4.1 in Ubuntu noble.
42
+ find_program(SWIG_EXECUTABLE NAMES swig4.1 swig)
43
+ find_package(SWIG REQUIRED)
44
+endif()
45
+
46
include(${SWIG_USE_FILE})
47
set(CMAKE_SWIG_FLAGS "")
48
0 commit comments