Skip to content

Commit d0b5f25

Browse files
authored
build: swap compiler search
Swap the toolchain search order. This ensures that the correct linker setup is done on WIndows. For some reason, the Swift search first will potentially pick up MinGW if the tools are in the path.
1 parent a59ed35 commit d0b5f25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ cmake_minimum_required(VERSION 3.15.1)
1010

1111
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules)
1212

13-
project(SwiftDriver LANGUAGES Swift C)
13+
project(SwiftDriver LANGUAGES C Swift)
1414

1515
set(SWIFT_VERSION 5)
1616
set(CMAKE_Swift_LANGUAGE_VERSION ${SWIFT_VERSION})

0 commit comments

Comments
 (0)