diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2019-05-30 21:22:20 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-06-03 13:59:39 (GMT) |
commit | 7456739e2401baa34ccec2989d604ea74ebb2f77 (patch) | |
tree | 608124b43a871a2575946bb73d95111ec09cca0c /Help/guide/tutorial/Step11/MathFunctions | |
parent | 5e2d22c177add56b2538ab10954dfb049c5cf945 (diff) | |
download | CMake-7456739e2401baa34ccec2989d604ea74ebb2f77.zip CMake-7456739e2401baa34ccec2989d604ea74ebb2f77.tar.gz CMake-7456739e2401baa34ccec2989d604ea74ebb2f77.tar.bz2 |
Swift: avoid `CMAKE_{EXE,SHARED}_LINKER_FLAGS`
Avoid the use of `CMAKE_{EXE,SHARED}_LINKER_FLAGS` when linking with the
Swift language. This required hoisting the executable flags of
`CMAKE_CREATE_WIN32_EXE`, `CMAKE_CREATE_CONSOLE_EXE`, and
`CMAKE_EXE_EXPORTS_*_FLAG` earlier to avoid a second clause which checks
the language. This allows for mixed-language Swift projects to properly
link on Windows.
Fixes #19298
Diffstat (limited to 'Help/guide/tutorial/Step11/MathFunctions')
0 files changed, 0 insertions, 0 deletions