From 43aa0bfdc390f1dc2a55ca6e71631143464f36fb Mon Sep 17 00:00:00 2001 From: Marek Roszko Date: Sat, 12 Mar 2022 08:03:46 -0500 Subject: [PATCH] Tweak the "pyd" extension if for windows to be completely inclusive --- pcbnew/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/CMakeLists.txt b/pcbnew/CMakeLists.txt index 58a3b0e13f..1bb396ae1b 100644 --- a/pcbnew/CMakeLists.txt +++ b/pcbnew/CMakeLists.txt @@ -811,7 +811,7 @@ install( DIRECTORY ${PROJECT_SOURCE_DIR}/pcbnew/python/plugins/ # Here is built the _pcbnew.{so,pyd} which is the native part of the pcbnew Python library # when Python is used from the command line. -if( MINGW OR VCPKG_TOOLCHAIN ) +if( WIN32 ) install( FILES ${CMAKE_BINARY_DIR}/pcbnew/_pcbnew.pyd DESTINATION ${PYTHON_DEST} ) set( PYMOD_EXT "pyd" ) elseif( APPLE )