mirror of
https://github.com/fergalmoran/flameshot.git
synced 2026-02-06 10:33:59 +00:00
This will allow users to set their own Imgur client_id passing the IMGUR_CLIENT_ID variable to qmake. If the users does not set this variable, it will fallback to the default value.
8 lines
201 B
Plaintext
8 lines
201 B
Plaintext
# Use default Imgur client_id if user did not pass
|
|
# this variable to qmake
|
|
isEmpty(IMGUR_CLIENT_ID) {
|
|
IMGUR_CLIENT_ID = "313baf0c7b4d3ff"
|
|
}
|
|
|
|
DEFINES += IMGUR_CLIENT_ID=\\\"$${IMGUR_CLIENT_ID}\\\"
|