From 867d0a58a214fb85d49a5a15e779d64e1809d149 Mon Sep 17 00:00:00 2001 From: Igor Abdrakhimov Date: Mon, 25 Nov 2024 12:54:32 -0800 Subject: [PATCH] Update cmake/AwsPrebuildDependency.cmake Co-authored-by: Michael Graeb --- cmake/AwsPrebuildDependency.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/AwsPrebuildDependency.cmake b/cmake/AwsPrebuildDependency.cmake index ae6b7f3b8..9386be1b5 100644 --- a/cmake/AwsPrebuildDependency.cmake +++ b/cmake/AwsPrebuildDependency.cmake @@ -102,7 +102,7 @@ function(aws_get_variables_for_prebuild_dependency AWS_CMAKE_PREBUILD_ARGS) # on other platforms, the chances are you have to handle additional variables (like CMAKE_OSX_SYSROOT). Refer to # https://cmake.org/cmake/help/latest/manual/cmake-toolchains.7.html to update the list of handled variables, and # then you can enable a new platform here. - if (NOT UNIX OR APPLE) + if ((NOT UNIX) OR APPLE) message(FATAL_ERROR "aws_get_variables_for_prebuild_dependency is called for unsupported platform") endif()