diff options
author | Don Bright <hugh.m.bright@gmail.com> | 2011-12-17 03:03:10 (GMT) |
---|---|---|
committer | Don Bright <hugh.m.bright@gmail.com> | 2011-12-17 03:03:10 (GMT) |
commit | a7ebe941998768fe1015fc1b6d528690bdf19701 (patch) | |
tree | ac69c4f3752f50d225f54fbc25af1306ac9af6f0 | |
parent | 609e59d4ccd73ec8e9d6c3e691352623d58d8cba (diff) |
fix qmake under mingw-cross-compile
-rw-r--r-- | openscad.pro | 7 | ||||
-rw-r--r-- | win32.pri | 6 |
2 files changed, 9 insertions, 4 deletions
diff --git a/openscad.pro b/openscad.pro index 160eaa1..e38251a 100644 --- a/openscad.pro +++ b/openscad.pro @@ -77,8 +77,13 @@ win32 { CONFIG += qt QT += opengl +# Fedora Linux + DSO fix linux*:exists(/usr/lib64/libGLU*)|linux*:exists(/usr/lib/libGLU*) { - LIBS += -lGLU # Fedora + DSO + LIBS += -lGLU +} + +CONFIG(mingw-cross-env) { + include(mingw-cross-env.pri) } # Application configuration @@ -1,6 +1,6 @@ -# win32-specific general settings +# win32-specific MSVC compiler general settings -win32 { +win32*msvc* { #configure additional directories INCLUDEPATH += $$(MPIRDIR) INCLUDEPATH += $$(MPFRDIR) @@ -17,4 +17,4 @@ win32 { # lexer uses strdup() & other POSIX stuff QMAKE_CXXFLAGS += -D_CRT_NONSTDC_NO_DEPRECATE -}
\ No newline at end of file +} |