From 5b24889015e7c9ae169794b61bfa96af88131957 Mon Sep 17 00:00:00 2001 From: Ashley Ruglys Date: Tue, 6 Feb 2024 21:26:35 +1300 Subject: [PATCH] Reorder string replacements --- bbl/cmake/babble-functions.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bbl/cmake/babble-functions.cmake b/bbl/cmake/babble-functions.cmake index ef7788e..738ef7f 100644 --- a/bbl/cmake/babble-functions.cmake +++ b/bbl/cmake/babble-functions.cmake @@ -47,8 +47,8 @@ function(BBL_TRANSLATE_BINDING PROJECT_NAME) execute_process(COMMAND bash "-c" "c++ -xc++ /dev/null -E -Wp,-v 2>&1 | sed -n 's,^ ,,p'" OUTPUT_VARIABLE gcc_default_includes) string(STRIP ${gcc_default_includes} gcc_default_includes) string(REPLACE "\n" " -isystem " gcc_include_list "-isystem ${gcc_default_includes}") - string(REPLACE " " ";" gcc_include_list ${gcc_include_list}) string(REPLACE "(framework directory)" "" gcc_include_list ${gcc_include_list}) + string(REPLACE " " ";" gcc_include_list ${gcc_include_list}) endif() add_custom_command(