mirror of
https://github.com/fltk/fltk.git
synced 2026-05-30 21:25:30 +08:00
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:
committed by
Albrecht Schlosser
parent
b78d3297e2
commit
31093328b7
+1
-1
@@ -76,7 +76,7 @@ ENDIF(CYGWIN)
|
|||||||
|
|
||||||
IF(MINGW)
|
IF(MINGW)
|
||||||
ADD_DEFINITIONS(-DWIN32)
|
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)
|
ENDIF(MINGW)
|
||||||
|
|
||||||
INCLUDE(CheckIncludeFiles)
|
INCLUDE(CheckIncludeFiles)
|
||||||
|
|||||||
Reference in New Issue
Block a user