Skip to content

Commit 62137a4

Browse files
committed
Merge pull request sintegrial#4 from gcoco/examples
Allow examples to compile on a Mac
2 parents a6ee153 + 57b706c commit 62137a4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

examples/common.pro

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ win32{
2323
LIBS += -L../../lib -lqwtplot3d -lopengl32 -lglu32 -lgdi32
2424
}
2525

26-
unix:LIBS += -L../../lib -lqwtplot3d -lGLU
26+
unix:!macx { LIBS += -L../../lib -lqwtplot3d -lGLU }
27+
28+
macx: LIBS += -L../../lib -lqwtplot3d -framework OpenGL
2729

2830
linux-g++:QMAKE_CXXFLAGS += -fno-exceptions
2931

0 commit comments

Comments
 (0)