Skip to content

Commit e7ed75e

Browse files
committed
Fixed a qmake switch that was causing wrong definition of PGMODELER_DEBUG in Release build
1 parent 9d16e25 commit e7ed75e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

libs/libutils/src/globalattributes.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const QString GlobalAttributes::PgModelerBuildNumber { QString("%1.%2").arg(BUIL
5454

5555
const QString GlobalAttributes::PgModelerSite {
5656
#ifdef PGMODELER_DEBUG
57-
"http://localhost:8000"
57+
"http://localhost:8000"
5858
#else
5959
"https://pgmodeler.io"
6060
#endif

pgmodeler.pri

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ MOC_DIR = moc
88
OBJECTS_DIR = obj
99
UI_DIR = src
1010

11-
contains(CONFIG, debug):{
11+
CONFIG(debug, debug|release): {
1212
DEFINES+=PGMODELER_DEBUG
1313

1414
# Enabling ccache (https://ccache.dev) in debug mode to speed up recompilations

0 commit comments

Comments
 (0)