Don't depend unnecessarily on PkgConfig

This commit is contained in:
Jason Rhinelander 2020-06-12 02:45:25 -03:00
parent f4e9ea7d40
commit 701732cfae
1 changed files with 1 additions and 2 deletions

View File

@ -33,9 +33,8 @@
# ...except for FreeBSD, because FreeBSD is a special case that doesn't play well with
# others.
find_package(PkgConfig REQUIRED)
if(NOT STATIC)
find_package(PkgConfig REQUIRED)
pkg_check_modules(MINIUPNPC miniupnpc>=2.1)
pkg_check_modules(LOKIMQ liblokimq>=1.1.4)
endif()