Changming Sun 6 anos atrás
pai
commit
95a1c4fbc4
1 arquivos alterados com 1 adições e 1 exclusões
  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)
   configure_file(extract_includes.bat.in extract_includes.bat)
 
 
   # Suppress linker warnings about files with no symbols defined.
   # 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
   # Configure Resource Compiler
   enable_language(RC)
   enable_language(RC)