Explorar el Código

text-freetype2: Suppress LNK4098

defaultlib 'MSVCRT' conflicts with use of other libs; use
/NODEFAULTLIB:library
jpark37 hace 3 años
padre
commit
f03827eb63
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      plugins/text-freetype2/CMakeLists.txt

+ 2 - 1
plugins/text-freetype2/CMakeLists.txt

@@ -27,7 +27,8 @@ if(OS_WINDOWS)
 
   target_sources(text-freetype2 PRIVATE find-font.c find-font-windows.c
                                         text-freetype2.rc)
-  target_link_options(text-freetype2 PRIVATE "LINKER:/IGNORE:4099")
+  target_link_options(text-freetype2 PRIVATE "LINKER:/IGNORE:4098"
+                      "LINKER:/IGNORE:4099")
 
 elseif(OS_MACOS)
   find_package(Iconv REQUIRED)