From e4db29f7384306cf09f6b08bc452579f2c8ae212 Mon Sep 17 00:00:00 2001 From: Stefan Dinkelacker Date: Mon, 5 Aug 2019 18:37:07 +0200 Subject: [PATCH] COMP: Return value of variable instead of its name Signed-off-by: Stefan Dinkelacker --- CMake/ctkFunctionExtractOptimizedLibrary.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMake/ctkFunctionExtractOptimizedLibrary.cmake b/CMake/ctkFunctionExtractOptimizedLibrary.cmake index 952be879fd..30b61f7626 100644 --- a/CMake/ctkFunctionExtractOptimizedLibrary.cmake +++ b/CMake/ctkFunctionExtractOptimizedLibrary.cmake @@ -11,7 +11,7 @@ function(ctkFunctionExtractOptimizedLibrary lib_list var_optimized_lib) list(LENGTH ${lib_list} lib_list_length) if(lib_list_length EQUAL 1) - set(${var_optimized_lib} "${lib_list}" PARENT_SCOPE) + set(${var_optimized_lib} "${${lib_list}}" PARENT_SCOPE) return() endif()