diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index f87b0928e0..8e5e68073b 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -199,7 +199,7 @@ if (MSVC) configure_file(extract_includes.bat.in extract_includes.bat) # Suppress linker warnings about files with no symbols defined. - set(CMAKE_STATIC_LINKER_FLAGS /ignore:4221) + set(CMAKE_STATIC_LINKER_FLAGS "${CMAKE_STATIC_LINKER_FLAGS} /ignore:4221") # Configure Resource Compiler enable_language(RC)