Skip to content

Commit bb11bb4

Browse files
authored
Merge pull request #2560 from compnerd/always-newer
build: add a workaround for CMake <3.16
2 parents accfc8f + 569b5ed commit bb11bb4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Foundation/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11

2+
if(CMAKE_VERSION VERSION_LESS 3.16)
3+
set(CMAKE_LINK_LIBRARY_FLAG "-l")
4+
endif()
5+
26
add_library(Foundation
37
AffineTransform.swift
48
Array.swift

0 commit comments

Comments
 (0)