Skip to content

Commit

Permalink
COMP: Return value of variable instead of its name
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Dinkelacker <s.dinkelacker@dkfz-heidelberg.de>
  • Loading branch information
kislinsk committed Aug 5, 2019
1 parent 6d3d337 commit e4db29f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMake/ctkFunctionExtractOptimizedLibrary.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit e4db29f

Please sign in to comment.