corrects CMakeLists.txt to use the defined option for fw building

This commit is contained in:
2025-10-20 15:03:42 +02:00
parent 4ebf3a0e9d
commit 1e84bfba07

View File

@@ -83,7 +83,7 @@ if(ENABLE_CLANGFORMAT)
find_package(ClangFormat) find_package(ClangFormat)
endif() endif()
if(FW_BUILD) if(ENABLE_FW_BUILD)
include(FetchContent) include(FetchContent)
set(FETCHCONTENT_BASE_DIR ${CMAKE_CURRENT_BINARY_DIR}/..) set(FETCHCONTENT_BASE_DIR ${CMAKE_CURRENT_BINARY_DIR}/..)
FetchContent_Declare( FetchContent_Declare(