From f8cd3dbbc74bcdca4c0ad7bcbef636efb29eaad0 Mon Sep 17 00:00:00 2001 From: Gregory Boyce Date: Thu, 15 Jul 2021 15:39:15 -0400 Subject: Set GD_LIB to gd on mingw Setting GD_LIB to libgd on MINGW builds results in liblibgd.a and liblibgd.dll.a being built. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 377d397..8a2d79f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -261,6 +261,7 @@ else (USE_EXT_GD) ADD_DEFINITIONS("/D_CRT_SECURE_NO_DEPRECATE") endif(NOT MINGW AND MSVC_VERSION GREATER 1399) if (MINGW OR MSYS) + SET(GD_LIB gd) ADD_DEFINITIONS("-mms-bitfields") # -m32 endif (MINGW OR MSYS) else (WIN32) -- cgit v1.2.1