This repository has been archived by the owner on Nov 11, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for users with no C++ support in their toolchain.
The U_CFG_GEOFENCE feature introduced a C++ file (common/geofence/src/u_geofence_geodesic.cpp) into the system, which does nothing if U_CFG_GEOFENCE is not defined, and even then only does something useful if geodesic is included in UBXLIB_FEATURES. This causes a problem for customers who don't have C++ support in their toolchain; those who aren't interested in U_CFG_GEOFENCE or those who are but don't need the geodesic support (which is where C++ comes in). With this commit the existing dummy file, common/geofence/src/dummy/u_geofence_geodesic.c (used for those who only have make, not CMake) is brought in if the geodesic feature is not included; this fixes things for both cases.
- Loading branch information