mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-20 21:28:23 -05:00
b06f4c8a74
Currently, the compiler does not synthesize the correct entry point for the application and passing the subsystem flag does not work the same way with the Swift linker language. Add a check to prevent the application of `WIN32_EXECUTABLE` to Swift executables until they can be properly supported. This will prevent the need for a future policy change. Closes: #19325
5 lines
216 B
Plaintext
5 lines
216 B
Plaintext
^CMake Error at Win32ExecutableDisallowed.cmake:[0-9]+ \(add_executable\):
|
|
WIN32_EXECUTABLE property is not supported on Swift executables
|
|
Call Stack \(most recent call first\):
|
|
CMakeLists.txt:[0-9]+ \(include\)
|