mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-01-30 12:54:19 +00:00
Add tests that explicitly test the fallback tests of the modules which test for a functional [Obj]C[xx] compiler, bypassing the ABI tests. Due to the ABI test short-circuiting added by commit 1d21dd0f7c (enable_language: Assume compiler works if ABI detection compiles, 2020-05-25, v3.18.0-rc1~93^2), this logic is likely not getting tested otherwise.
4 lines
127 B
CMake
4 lines
127 B
CMake
# Pretend the ABI check failed in order to force the fall-back test to run.
|
|
set(CMAKE_C_ABI_COMPILED FALSE)
|
|
enable_language(C)
|