diff options
author | hotwatermorning <hotwatermorning@gmail.com> | 2021-10-23 18:54:20 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-10-28 19:32:44 (GMT) |
commit | c782f140d4dbbffec03d834e0f1b3cf5a7acb004 (patch) | |
tree | 2cba37c3f967eb7b82fda249562f79c17ae33bf7 /Tests/RunCMake/CMakeLists.txt | |
parent | 46bd57d2450e450da4f46f5cb45cb8d1dc617d96 (diff) | |
download | CMake-c782f140d4dbbffec03d834e0f1b3cf5a7acb004.zip CMake-c782f140d4dbbffec03d834e0f1b3cf5a7acb004.tar.gz CMake-c782f140d4dbbffec03d834e0f1b3cf5a7acb004.tar.bz2 |
Swift: Ignore WIN32_EXECUTABLE property outside of Windows
Issue: #19877
Diffstat (limited to 'Tests/RunCMake/CMakeLists.txt')
-rw-r--r-- | Tests/RunCMake/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/CMakeLists.txt b/Tests/RunCMake/CMakeLists.txt index 0c1258e..5dc7031 100644 --- a/Tests/RunCMake/CMakeLists.txt +++ b/Tests/RunCMake/CMakeLists.txt @@ -345,7 +345,7 @@ if(UNIX AND CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG AND CMAKE_EXECUTABLE_FORMAT STRE add_RunCMake_test(RuntimePath) endif() add_RunCMake_test(ScriptMode) -add_RunCMake_test(Swift -DCMAKE_Swift_COMPILER=${CMAKE_Swift_COMPILER}) +add_RunCMake_test(Swift -DCMAKE_Swift_COMPILER=${CMAKE_Swift_COMPILER} -DCMAKE_SYSTEM_NAME=${CMAKE_SYSTEM_NAME}) add_RunCMake_test(TargetObjects) add_RunCMake_test(TargetProperties) add_RunCMake_test(ToolchainFile) |