Changming Sun 6 years ago
parent
commit
95a1c4fbc4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cmake/CMakeLists.txt

+ 1 - 1
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)