Tweak the "pyd" extension if for windows to be completely inclusive

This commit is contained in:
Marek Roszko 2022-03-12 08:03:46 -05:00
parent 7ab4bf3823
commit 43aa0bfdc3
1 changed files with 1 additions and 1 deletions

View File

@ -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 )