CMake: clear stale MaxMindDB cache entries if needed
On macOS with Homebrew, the version is included with the library path. On updates, the old MAXMINDDB_LIBRARY is invalidated. However ws_find_package only checks MaxMindDB_LIBRARY. Windows has a similar problem. Make sure to clear the stale value such that newer versions can be found, fixing the build. Fixes #17069
This commit is contained in:
parent
16d9f8948c
commit
a7ef7ff40d
|
@ -1207,6 +1207,7 @@ if(BUILD_wireshark)
|
|||
endif()
|
||||
|
||||
# MaxMind DB address resolution
|
||||
reset_find_package(MAXMINDDB)
|
||||
ws_find_package(MaxMindDB BUILD_mmdbresolve HAVE_MAXMINDDB)
|
||||
|
||||
# SMI SNMP
|
||||
|
|
Loading…
Reference in New Issue