From cacac2519535989519a73ee19b26455eac97deeb Mon Sep 17 00:00:00 2001 From: Jared Van Bortel Date: Tue, 12 Dec 2023 11:30:57 -0500 Subject: [PATCH] cmake : fix improper joining in generator expression --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 93ec57e7c..1bf9857b9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -439,8 +439,8 @@ if (LLAMA_ALL_WARNINGS) get_flags(${CMAKE_CXX_COMPILER_ID} ${CMAKE_CXX_COMPILER_VERSION}) - add_compile_options("$<$:${C_FLAGS} ${GF_C_FLAGS}>" - "$<$:${CXX_FLAGS} ${GF_CXX_FLAGS}>") + add_compile_options("$<$:${C_FLAGS};${GF_C_FLAGS}>" + "$<$:${CXX_FLAGS};${GF_CXX_FLAGS}>") else() # todo : msvc set(C_FLAGS "")