--- a/CMakeLists_org.txt
+++ b/CMakeLists.txt
@@ -200,7 +200,7 @@
     SET(PA_LIBRARY_DEPENDENCIES ${PA_LIBRARY_DEPENDENCIES} ole32 uuid)
   ENDIF()
 
-  IF(MSVS)
+  IF(MSVC)
     OPTION(PA_USE_WASAPI "Enable support for WASAPI" ON)
   ELSE()
     # I was unable to get WASAPI to compile outside of Visual Studio. If
