From 6c39cc1813018dce3a925f36a1c2211232d6f1cf Mon Sep 17 00:00:00 2001 From: Mike Kremer Date: Mon, 9 Feb 2009 12:54:45 +0000 Subject: [PATCH] Added comments about how to adapt lib paths for Windows git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@51 fdac6126-5c0c-442c-9429-916003d36597 --- qmake/packages/packages.Windows | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/qmake/packages/packages.Windows b/qmake/packages/packages.Windows index 4e879c2c..caa5939d 100644 --- a/qmake/packages/packages.Windows +++ b/qmake/packages/packages.Windows @@ -5,12 +5,21 @@ defineTest( glew ) { - !exists ( c:\glew ) { + + ####################################### + ## Enter here the correct path to GLEW + ####################################### + + GLEW_PATH = c:\glew + + ####################################### + + !exists ( $${GLEW_PATH} ) { error (ERROR: GLEW not found or wrong path entry in OpenMesh\qmake\packages\packages.Windows!) } - INCLUDEPATH *= c:\glew\include + INCLUDEPATH *= $${GLEW_PATH}\include export(INCLUDEPATH) - LIBS *= -Lc:\glew\lib -lglew32 + LIBS *= -L$${GLEW_PATH}\lib -lglew32 export(LIBS) } @@ -22,12 +31,21 @@ defineTest( qt ) { } defineTest( glut ) { - !exists ( c:\glut ) { + + ####################################### + ## Enter here the correct path to GLUT + ####################################### + + GLUT_PATH = c:\glut + + ######################################## + + !exists ( $${GLUT_PATH} ) { error (ERROR: GLUT not found or wrong path entry in OpenMesh\qmake\packages\packages.Windows!) } - INCLUDEPATH *= c:\glut\include + INCLUDEPATH *= $${GLUT_PATH}\include export(INCLUDEPATH) - LIBS *= -Lc:\glut\lib -lglut32 + LIBS *= -L$${GLUT_PATH}\lib -lglut32 export(LIBS) }