From: Denis Ovsienko Date: Tue, 3 Aug 2021 22:25:02 +0000 (+0100) Subject: CMake: Fix EXTRA_CFLAGS after commit cae0c65. [skip appveyor] X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/bbeedf4f477ff85a0563ae514517798e1022c3ff CMake: Fix EXTRA_CFLAGS after commit cae0c65. [skip appveyor] Same as in libpcap. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 8dec72b6..95da37bc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -925,7 +925,7 @@ endif() # if(NOT "${EXTRA_CFLAGS}" STREQUAL "") foreach(_extra_cflag ${EXTRA_CFLAGS}) - check_and_add_compiler_option(_extra_cflag) + check_and_add_compiler_option("${_extra_cflag}") endforeach(_extra_cflag) message(STATUS "Added extra compile options (${EXTRA_CFLAGS})") endif()