From f202980d3df243ae14fc0dc5762c2537d291376b Mon Sep 17 00:00:00 2001 From: gojimmypi Date: Mon, 24 Nov 2025 13:06:35 -0800 Subject: [PATCH] Revert in-source build testing --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 971bc7f0..210bedf4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -36,7 +36,7 @@ message(STATUS "Begin [WOLFBOOT_ROOT]/CmakeLists.txt") #--------------------------------------------------------------------------------------------- # First, ensure no in-source build occurs. #--------------------------------------------------------------------------------------------- -if(NOT "${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_BINARY_DIR}") +if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_BINARY_DIR}") message(FATAL_ERROR "In-source builds are not allowed for wolfBoot.\ Run cmake from a separate directory from where CMakeLists.txt lives.\