mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-21 05:38:24 -05:00
bddc54a37d
Fixes: #20545
5 lines
136 B
CMake
5 lines
136 B
CMake
get_property(in_try_compile GLOBAL PROPERTY IN_TRY_COMPILE)
|
|
if(in_try_compile)
|
|
message(FATAL_ERROR "Toolchain file included")
|
|
endif()
|