Skip to content

Commit 31ceead

Browse files
authored
Merge pull request #61661 from mhjacobson/freebsd-cmake-fix-syntax
build: fix syntax error in FreeBSD section of configure_sdk_unix
2 parents 49405aa + 1a0ea75 commit 31ceead

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/modules/SwiftConfigureSDK.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ macro(configure_sdk_unix name architectures)
374374
message(FATAL_ERROR "unsupported arch for FreeBSD: ${arch}")
375375
endif()
376376

377-
if(CMAKE_HOST_SYSTEM_NAME NOT STREQUAL FreeBSD)
377+
if(NOT CMAKE_HOST_SYSTEM_NAME STREQUAL FreeBSD)
378378
message(WARNING "CMAKE_SYSTEM_VERSION will not match target")
379379
endif()
380380

0 commit comments

Comments
 (0)