Tweak the "pyd" extension if for windows to be completely inclusive
This commit is contained in:
parent
7ab4bf3823
commit
43aa0bfdc3
|
@ -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
|
# 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.
|
# 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} )
|
install( FILES ${CMAKE_BINARY_DIR}/pcbnew/_pcbnew.pyd DESTINATION ${PYTHON_DEST} )
|
||||||
set( PYMOD_EXT "pyd" )
|
set( PYMOD_EXT "pyd" )
|
||||||
elseif( APPLE )
|
elseif( APPLE )
|
||||||
|
|
Loading…
Reference in New Issue