-
Notifications
You must be signed in to change notification settings - Fork 76
Closed
Description
Trying to build Micro-CDR on a platform without (proper) C++ support, I noticed that even though the top-level CMakeLists.txt only enabled C:
Line 51 in 6c9a88f
| project(microcdr VERSION "1.2.0" LANGUAGES C) |
it then continues and includes cmake/common/check_configuration.cmake, which does:
Micro-CDR/cmake/common/check_configuration.cmake
Lines 115 to 117 in 6c9a88f
| function(set_common_compile_options target) | |
| enable_language(C) | |
| enable_language(CXX) |
which ends up testing my platform's C++ compiler and fails.
Commenting the enable_language(CXX) makes everything work (the C-side is fine).
Metadata
Metadata
Assignees
Labels
No labels