Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[21277] Support compilation against Ubuntu 24.04 swig4.1 #364

Merged
merged 1 commit into from
Jul 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,12 @@ target_link_libraries(\${PROJECT_NAME}
###############################################################################
# Python bindings for type

find_package(SWIG REQUIRED)
find_package(SWIG)
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
Loading