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

CMake: Specify enabled languages in project instead of calling enable_language #1546

Merged
merged 1 commit into from
Nov 27, 2023

Conversation

traversaro
Copy link
Member

@traversaro traversaro commented Nov 27, 2023

I have no idea why (probably some hard to detect CMake bug) but in some cases:

project(robotology-superbuild NONE)
enable_language(C)
enable_language(CXX)

make the first call to find_package(Python3 COMPONENTS Interpreter Development REQUIRED) fail, while:

project(robotology-superbuild LANGUAGES C CXX)

works fine (beside being a more usual form).

Fix #1541 .
Fix #1510 .

@traversaro
Copy link
Member Author

Other failures are due to #1536, merging.

@traversaro traversaro merged commit 6e06e75 into master Nov 27, 2023
20 of 32 checks passed
@traversaro traversaro deleted the fixmacpythondetect branch November 27, 2023 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant