blob: ea1b475c4fc12ab986c45cc5b6a0271cf8e451dc [file] [log] [blame] [edit]
include(RunCMake)
# The test cases empty the PATH before enabling ASM to avoid finding
# another assembler in the caller's environment. However, old
# versions of MSVC do not support running `cl` without the PATH set.
if(NOT CMAKE_C_COMPILER_VERSION VERSION_LESS 16)
run_cmake(CMP0194-WARN)
run_cmake(CMP0194-OLD)
endif()
run_cmake(CMP0194-NEW)