mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
Follow the approach from commit 92320466dd (try_compile: Restore
platform-default link flags in pre-CMP0210 projects, 2026-08-22)
to make the CMP0181 policy setting available in `try_compile`
projects before the toolchain file is loaded.
Fixes: #28108
2 lines
61 B
CMake
2 lines
61 B
CMake
include("${CMAKE_CURRENT_LIST_DIR}/CMP0181-toolchain.cmake")
|