Explorar o código

text-freetype2: Suppress LNK4098

defaultlib 'MSVCRT' conflicts with use of other libs; use
/NODEFAULTLIB:library
jpark37 %!s(int64=3) %!d(string=hai) anos
pai
achega
f03827eb63
Modificáronse 1 ficheiros con 2 adicións e 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
   target_sources(text-freetype2 PRIVATE find-font.c find-font-windows.c
                                         text-freetype2.rc)
                                         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)
 elseif(OS_MACOS)
   find_package(Iconv REQUIRED)
   find_package(Iconv REQUIRED)