Skip to content

Commit 85479ec

Browse files
authored
[build] Build static libraries on Darwin by default
This matches how SwiftCompilerSources targets are built on Darwin.
1 parent 6db3783 commit 85479ec

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
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.18)
22

33
project(SwiftLLVMBindings LANGUAGES C Swift)
44

5-
if(CMAKE_SYSTEM_NAME STREQUAL Windows OR CMAKE_SYSTEM_NAME STREQUAL Darwin)
5+
if(CMAKE_SYSTEM_NAME STREQUAL Windows)
66
option(BUILD_SHARED_LIBS "Build shared libraries by default" YES)
77
endif()
88

0 commit comments

Comments
 (0)