+ Fix prefix of Python extensions built with MinGW

This commit is contained in:
wmayer
2014-04-30 18:22:52 +02:00
parent 7d42748082
commit 1a7cea9b59
44 changed files with 47 additions and 0 deletions

View File

@@ -130,6 +130,7 @@ fc_target_copy_resource(PartDesign
# http://forum.freecadweb.org/viewtopic.php?f=19&t=5444
SET_BIN_DIR(PartDesign PartDesign /Mod/PartDesign /Mod/PartDesign)
if(WIN32)
set_target_properties(PartDesign PROPERTIES PREFIX "")
set_target_properties(PartDesign PROPERTIES SUFFIX ".pyd")
endif(WIN32)

View File

@@ -192,6 +192,7 @@ fc_target_copy_resource(PartDesignGui
# http://forum.freecadweb.org/viewtopic.php?f=19&t=5444
SET_BIN_DIR(PartDesignGui PartDesignGui /Mod/PartDesign /Mod/PartDesign)
if(WIN32)
set_target_properties(PartDesignGui PROPERTIES PREFIX "")
set_target_properties(PartDesignGui PROPERTIES SUFFIX ".pyd")
endif(WIN32)