diff -Naur pyside-setup-opensource-src-5.15.0-orig/sources/shiboken2/shibokenmodule/CMakeLists.txt pyside-setup-opensource-src-5.15.0/sources/shiboken2/shibokenmodule/CMakeLists.txt
--- pyside-setup-opensource-src-5.15.0-orig/sources/shiboken2/shibokenmodule/CMakeLists.txt	2020-05-26 10:58:24.000000000 -0700
+++ pyside-setup-opensource-src-5.15.0/sources/shiboken2/shibokenmodule/CMakeLists.txt	2020-07-30 01:40:20.584830100 -0700
@@ -25,7 +25,7 @@
 set_property(TARGET shibokenmodule PROPERTY PREFIX "")
 set_property(TARGET shibokenmodule PROPERTY OUTPUT_NAME "shiboken2${PYTHON_EXTENSION_SUFFIX}")
 
-if(WIN32)
+if(MSVC)
     set_property(TARGET shibokenmodule PROPERTY SUFFIX ".pyd")
 endif()
 target_link_libraries(shibokenmodule PUBLIC libshiboken)
