Skip to content

Commit df25bd5

Browse files
ngrewedavidchisnall
authored andcommitted
docs: Add a hint to CMake error message if the required symbol was not found in libBlocksRuntime
1 parent 0030d01 commit df25bd5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ else ()
249249
if (HAVE_BLOCK_USE_RR2)
250250
add_definitions(-DHAVE_BLOCK_USE_RR2)
251251
else ()
252-
message(FATAL_ERROR "libBlocksRuntime does not contain _Block_use_RR2(). Enable EMBEDDED_BLOCKS_RUNTIME to use the built-in blocks runtime.")
252+
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.")
253253
endif ()
254254
unset(CMAKE_REQUIRED_LIBRARIES)
255255
else ()

0 commit comments

Comments
 (0)