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:
parent
b78d3297e2
commit
31093328b7
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user