fixing opengl32 lib for g++ and msvc in windows

this has been bugging me when merging my branches, since I compile in Qt using mingw...
now it should work with both compilers under windows
This commit is contained in:
bigoulours
2021-02-24 08:46:40 +01:00
committed by GitHub
parent 4d4dc687aa
commit 1754809969
+5 -1
View File
@@ -211,10 +211,14 @@ RESOURCES += \
icons.qrc \
images.qrc
win32 {
win32-msvc* {
LIBS += opengl32.lib
}
win32-g++ {
LIBS += libopengl32
}
unix {
isEmpty(PREFIX)
{