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

make C++ language requirements optional #315

Merged

Conversation

christian-rauch
Copy link
Collaborator

This PR removes CXX as a required language and makes it conditional on the availability of OpenCV. If examples are not requested (BUILD_EXAMPLES=OFF) or if OpenCV is not available (OpenCV_FOUND is false), the CXX language features will not be enabled and only the C language features will be required. This allows us to build the library and the basic example without a C++ compiler present.

@christian-rauch christian-rauch merged commit 69c21f0 into AprilRobotics:master Feb 2, 2024
19 checks passed
@christian-rauch christian-rauch deleted the lang_cxx_optional branch February 2, 2024 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants