Skip to content

Commit 460daef

Browse files
committed
Qmake: add USE_MAC_APP option
1 parent 16a487c commit 460daef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/src.pro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ linux-g++-32: {
104104
}
105105

106106
# General per-platform settings
107-
macx:{
107+
defined(USE_MAC_APP, var) | macx:{
108108
HEADERS += uchmviewerapp.h
109109
SOURCES += uchmviewerapp.cpp
110110
DEFINES += USE_MAC_APP
@@ -119,7 +119,7 @@ win32:{
119119

120120
LIBS += -loleaut32
121121
defined(USE_GETTEXT, var): LIBS *= -lintl
122-
122+
123123
RC_ICONS = resources/uchmviewer.ico
124124
}
125125

0 commit comments

Comments
 (0)