From 49dacdfa556fbb96fe17b78858b18bd631ca2a3a Mon Sep 17 00:00:00 2001 From: Matheus Izvekov Date: Thu, 14 Aug 2025 16:21:43 -0300 Subject: [PATCH] build: quote genexp for target_include_directories LLVM_INCLUDE_DIRS can be a list of directories with more than one entry. Quote the generator expressions so that list expansion doesn't happen before it is parsed. --- CMakeLists.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 01cf5df8db..23bbf2c3de 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -226,14 +226,14 @@ target_compile_definitions( # Dependencies target_include_directories(mrdocs-core SYSTEM PUBLIC - $ - $ - $ + "$" + "$" + "$" ) target_include_directories(mrdocs-core SYSTEM PRIVATE - $ - $ + "$" + "$" ) target_link_libraries(mrdocs-core PRIVATE ${DUKTAPE_LIBRARY})