Find Jansson with pkg-config on non-MSVC. (#10521)

This commit is contained in:
Tom Lankhorst authored and Aaron van Geffen committed 2020-01-09 19:56:25 +01:00
1 parent 868a2793e5
commit 2ff8a467c6
1 file changed
+1
+1
View File
@@ -13,6 +13,7 @@ if (MSVC)
find_package(SDL2 REQUIRED)
find_library(SPEEX_LDFLAGS libspeexdsp)
else ()
PKG_CHECK_MODULES(JANSSON REQUIRED jansson>=2.5)
PKG_CHECK_MODULES(SDL2 REQUIRED sdl2)
PKG_CHECK_MODULES(SPEEX REQUIRED speexdsp)
endif ()