* CMakeLists.txt: Enable shared library builds on MinGW (#46233).

This commit is contained in:
StudioEtrange 2015-10-20 07:19:44 +02:00 committed by Werner Lemberg
parent 3c582060b2
commit 5cf83a5335
2 changed files with 8 additions and 4 deletions

View File

@ -100,14 +100,14 @@ else ()
endif ()
endif ()
if (WIN32 AND BUILD_SHARED_LIBS)
message(FATAL_ERROR "Shared libraries not supported on Windows.")
endif ()
project(freetype)
if (WIN32 AND NOT MINGW AND BUILD_SHARED_LIBS)
message(FATAL_ERROR "Building shared libraries on Windows needs MinGW")
endif ()
# Disallow in-source builds
if ("${PROJECT_BINARY_DIR}" STREQUAL "${PROJECT_SOURCE_DIR}")
message(FATAL_ERROR

View File

@ -1,3 +1,7 @@
2015-10-20 StudioEtrange <nomorgan@gmail.com>
* CMakeLists.txt: Enable shared library builds on MinGW (#46233).
2015-10-20 Werner Lemberg <wl@gnu.org>
* src/type1/t1afm.c (T1_Read_Metrics): Fix memory leak (#46229).