From e21db5b80e7d9234c320b3d880d381b4b766bf23 Mon Sep 17 00:00:00 2001 From: kgv Date: Fri, 3 Sep 2021 15:22:22 +0300 Subject: [PATCH] 0030976: Configuration, CMake - Build failure with static FreeType dependency Removed linkage with "freetype.lib" with help of pragma lib specific to msvc. FreeType library should be configured as a normal external dependency via CSF_FreeType by CMake and genproj, which is already done (information was duplicated). --- src/Font/Font_FontMgr.cxx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Font/Font_FontMgr.cxx b/src/Font/Font_FontMgr.cxx index b9b2d47e8f..3e31c207eb 100644 --- a/src/Font/Font_FontMgr.cxx +++ b/src/Font/Font_FontMgr.cxx @@ -41,10 +41,6 @@ IMPLEMENT_STANDARD_RTTIEXT(Font_FontMgr,Standard_Transient) #include #include - #if defined(_MSC_VER) && defined(HAVE_FREETYPE) - #pragma comment (lib, "freetype.lib") - #endif - namespace { // list of supported extensions