diff --git a/CMakeLists.txt b/CMakeLists.txt index 0923884ad3..6944cab6d4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -264,7 +264,7 @@ endfunction() function(add_clang_compile_options) if (CMAKE_CXX_COMPILER_ID MATCHES "Clang") - add_compile_options(${ARGN}) + add_compile_options(${ARGV}) endif() endfunction()