From 1754809969bca89472604ae72f1c0d6189a2b78f Mon Sep 17 00:00:00 2001 From: bigoulours Date: Wed, 24 Feb 2021 08:46:40 +0100 Subject: [PATCH] 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 --- SavvyCAN.pro | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/SavvyCAN.pro b/SavvyCAN.pro index 8aa53cc..acb4110 100644 --- a/SavvyCAN.pro +++ b/SavvyCAN.pro @@ -211,10 +211,14 @@ RESOURCES += \ icons.qrc \ images.qrc -win32 { +win32-msvc* { LIBS += opengl32.lib } +win32-g++ { + LIBS += libopengl32 +} + unix { isEmpty(PREFIX) {