Browse Source

text-freetype2: Suppress LNK4098

defaultlib 'MSVCRT' conflicts with use of other libs; use
/NODEFAULTLIB:library
jpark37 3 years ago
parent
commit
f03827eb63
1 changed files with 2 additions and 1 deletions
  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)