mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-04 12:49:36 -06: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
137 B
CMake
4 lines
137 B
CMake
# Pretend the ABI check failed in order to force the fall-back test to run.
|
|
set(CMAKE_OBJCXX_ABI_COMPILED FALSE)
|
|
enable_language(OBJCXX)
|