RunCMakeTest.cmake 351 B

12345678910
  1. include(RunCMake)
  2. # The test cases empty the PATH before enabling ASM to avoid finding
  3. # another assembler in the caller's environment. However, old
  4. # versions of MSVC do not support running `cl` without the PATH set.
  5. if(NOT CMAKE_C_COMPILER_VERSION VERSION_LESS 16)
  6. run_cmake(CMP0194-WARN)
  7. run_cmake(CMP0194-OLD)
  8. endif()
  9. run_cmake(CMP0194-NEW)