mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 07:27:22 -06:00
Removing the confusion caused by moving GeoIP code/.dat to a different directory
This commit is contained in:
@@ -8,11 +8,11 @@ SOURCES += $$PWD/geoipmanager.cpp
|
||||
# should be embedded in qBittorrent executable
|
||||
contains(DEFINES, WITH_GEOIP_EMBEDDED) {
|
||||
exists("GeoIP.dat") {
|
||||
message("GeoIP.dat was found in src/geoip/.")
|
||||
message("GeoIP.dat was found in src/gui/geoip/.")
|
||||
RESOURCES += $$PWD/geoip.qrc
|
||||
} else {
|
||||
DEFINES -= WITH_GEOIP_EMBEDDED
|
||||
error("GeoIP.dat was not found in src/geoip/ folder, please follow instructions in src/geoip/README.")
|
||||
error("GeoIP.dat was not found in src/gui/geoip/ folder, please follow instructions in src/gui/geoip/README.")
|
||||
}
|
||||
} else {
|
||||
message("GeoIP database will not be embedded in qBittorrent executable.")
|
||||
|
||||
Reference in New Issue
Block a user