Skip to content

tiffgt: Fix linking errors with static libglut on windows

Christopher Degawa requested to merge 1480c1/libtiff:mingww64/glglut into master

static libglut provided by FreeGLUT(https://github.com/dcnieho/FreeGLUT) requires opengl and winmm to be linked after itself but the FindGLUT.cmake file provided by cmake does not look at the pkg-config file provided and so does not link those two as dependencies. I have checked that compilation works with a manually compiled static FreeGLUT and the dynamic FreeGLUT provided by msys2's mingw-w64-x86_64-freeglut package

Merge request reports