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 0a8718cd1d
commit b8557e77ee
1 changed files with 1 additions and 1 deletions

View File

@ -814,7 +814,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 )