Swift: mixed language projects use incorrect linker directory flag
With Swift on Windows, the linker is invoked through the language driver. When adding library search paths, it uses CMAKE_LIBRARY_PATH_FLAG
which will use -LIBPATH:
as per the flag for link
. However, the driver uses -L
for the library search paths. This results in a failure due to the invalid flag.