From: kgv Date: Fri, 3 Sep 2021 12:22:22 +0000 (+0300) Subject: 0030976: Configuration, CMake - Build failure with static FreeType dependency X-Git-Tag: V7_6_0_beta~46 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=e21db5b80e7d9234c320b3d880d381b4b766bf23;p=occt.git 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). --- 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