From c4cc4ae8964ae1b6c32a0a756bd3906bfa8fae11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Garramu=C3=B1o?= Date: Fri, 22 Sep 2023 13:02:16 -0300 Subject: [PATCH] Build fix. --- etc/SuperBuild/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/SuperBuild/CMakeLists.txt b/etc/SuperBuild/CMakeLists.txt index 7364f87a..e99b39db 100644 --- a/etc/SuperBuild/CMakeLists.txt +++ b/etc/SuperBuild/CMakeLists.txt @@ -58,8 +58,8 @@ set(CMAKE_FIND_FRAMEWORK LAST) # https://stackoverflow.com/questions/45414507/pass-a-list-of-prefix-paths-to-externalproject-add-in-cmake-args string(REPLACE ";" "|" CMAKE_MODULE_PATH_TMP "${CMAKE_MODULE_PATH}") string(REPLACE ";" "|" CMAKE_PREFIX_PATH_TMP "${CMAKE_PREFIX_PATH}") -string(REPLACE " " "|" CMAKE_CXX_FLAGS_TMP "${CMAKE_CXX_FLAGS}") -string(REPLACE " " "|" CMAKE_C_FLAGS_TMP "${CMAKE_C_FLAGS}") +string(REPLACE ";" "|" CMAKE_CXX_FLAGS_TMP "${CMAKE_CXX_FLAGS}") +string(REPLACE ";" "|" CMAKE_C_FLAGS_TMP "${CMAKE_C_FLAGS}") # Common arguments for building external projects. set(TLRENDER_EXTERNAL_ARGS