Fix undefined reference to `_imp___TrackMouseEvent@4' error.

Notice for CYGWIN we are not using the comdlg32 library but are using comctl32. Changing comdlg32 to comctl32 fixed the linker error I was receiving why trying to build the library using MinGW.

This change was tested in both Wine and a Windows 95 VM and I didn't receive any errors relating to functions defined in comdlg32 because it's not used.
This commit is contained in:
ComputerNerd 2020-12-07 01:30:23 -06:00 committed by Albrecht Schlosser
parent b78d3297e2
commit 31093328b7

View File

@ -76,7 +76,7 @@ ENDIF(CYGWIN)
IF(MINGW)
ADD_DEFINITIONS(-DWIN32)
SET( FLTK_PLATFORM_DEPENDENT_LIBS ole32 uuid wsock32 gdi32 comdlg32)
SET( FLTK_PLATFORM_DEPENDENT_LIBS ole32 uuid wsock32 gdi32 comctl32)
ENDIF(MINGW)
INCLUDE(CheckIncludeFiles)