diff --git a/Externals/Bochs_disasm/CMakeLists.txt b/Externals/Bochs_disasm/CMakeLists.txt
index 3d93e7e6e9..505f752133 100644
--- a/Externals/Bochs_disasm/CMakeLists.txt
+++ b/Externals/Bochs_disasm/CMakeLists.txt
@@ -4,7 +4,7 @@ set(SRCS dis_decode.cc
          syntax.cc)
 
 if(WIN32)
-    set(SRCS ${SRCS} stdafx.cpp)
+    set(SRCS ${SRCS} stdafx.cc)
 endif(WIN32)
 
 add_library(bdisasm STATIC ${SRCS})