diff --git a/port/posix-h4/CMakeLists.txt b/port/posix-h4/CMakeLists.txt
index fc9781632..678062e8b 100644
--- a/port/posix-h4/CMakeLists.txt
+++ b/port/posix-h4/CMakeLists.txt
@@ -21,7 +21,7 @@ endif()
 find_package(PkgConfig QUIET)
 
 # portaudio
-if (PgConfig_FOUND)
+if (PkgConfig_FOUND)
 	pkg_check_modules(PORTAUDIO REQUIRED portaudio-2.0)
 	if(PORTAUDIO_FOUND)
 		message("HAVE_PORTAUDIO")