Tweak the "pyd" extension if for windows to be completely inclusive
This commit is contained in:
parent
0a8718cd1d
commit
b8557e77ee
|
@ -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
|
# 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