commit | c4e890946adce7881f2710a4ae4899310ed06668 | [log] [tgz] |
---|---|---|
author | Robert Maynard <robert.maynard@kitware.com> | Mon Jun 15 11:20:59 2020 -0400 |
committer | Robert Maynard <robert.maynard@kitware.com> | Mon Jun 22 08:37:44 2020 -0400 |
tree | f0502c9c2569e3576388b6029d2d9e7853ff42e8 | |
parent | 0e16da823397d61fe8944f7b043cd99bc6f10ad0 [diff] |
try_compile: consistently add language properties It was very easy to forgot to add all the possible language properties that try_compile might need. Refactored the code to make it harder to skip flags. This changes adds the missing language properties for the CUDA, Fortran, OBJC, OBJCXX, and Swift languages: - CMAKE_<LANG>_COMPILER_EXTERNAL_TOOLCHAIN - CMAKE_<LANG>_COMPILER_TARGET - CMAKE_<LANG>_LINK_NO_PIE_SUPPORTED - CMAKE_<LANG>_PIE_SUPPORTED