From 5c313f7bdfa51d13b34b743552064338e4c07102 Mon Sep 17 00:00:00 2001 From: slaren Date: Thu, 27 Jun 2024 17:36:08 +0200 Subject: [PATCH] cmake : fix deprecated option names not working --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7a7197282..661060211 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -86,7 +86,7 @@ set(GGML_CUDA_USE_GRAPHS ON) function (llama_option_depr TYPE OLD NEW) if (${OLD}) message(${TYPE} "${OLD} is deprecated and will be removed in the future.\nUse ${NEW} instead\n") - set(${NEW} ON) + set(${NEW} ON PARENT_SCOPE) endif() endfunction()