From 1a0ea75b5c205294995b139e786f1449d7615b37 Mon Sep 17 00:00:00 2001 From: Matt Jacobson Date: Thu, 20 Oct 2022 23:52:13 -0400 Subject: [PATCH] build: fix syntax error in FreeBSD section of configure_sdk_unix --- cmake/modules/SwiftConfigureSDK.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/modules/SwiftConfigureSDK.cmake b/cmake/modules/SwiftConfigureSDK.cmake index f67ef25ca945e..dcf110f609ff1 100644 --- a/cmake/modules/SwiftConfigureSDK.cmake +++ b/cmake/modules/SwiftConfigureSDK.cmake @@ -374,7 +374,7 @@ macro(configure_sdk_unix name architectures) message(FATAL_ERROR "unsupported arch for FreeBSD: ${arch}") endif() - if(CMAKE_HOST_SYSTEM_NAME NOT STREQUAL FreeBSD) + if(NOT CMAKE_HOST_SYSTEM_NAME STREQUAL FreeBSD) message(WARNING "CMAKE_SYSTEM_VERSION will not match target") endif()