From 93f68fe2d4fdc41ea9932d6e8e0174aecc34e8ca Mon Sep 17 00:00:00 2001 From: Niels Grewe Date: Mon, 1 Sep 2025 23:37:25 +0200 Subject: [PATCH] docs: Add a hint to CMake error message if the required symbol was not found in libBlocksRuntime --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7be34400..dddaae96 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -249,7 +249,7 @@ else () if (HAVE_BLOCK_USE_RR2) add_definitions(-DHAVE_BLOCK_USE_RR2) else () - message(FATAL_ERROR "libBlocksRuntime does not contain _Block_use_RR2(). Enable EMBEDDED_BLOCKS_RUNTIME to use the built-in blocks runtime.") + message(FATAL_ERROR "_Block_use_RR2() could not be found in libBlocksRuntime. Did you install libdispatch with INSTALL_PRIVATE_HEADERS=ON? Alternatively, enable EMBEDDED_BLOCKS_RUNTIME to use the built-in blocks runtime.") endif () unset(CMAKE_REQUIRED_LIBRARIES) else ()