+ 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

@@ -71,6 +71,7 @@ fc_target_copy_resource(ImportPy
SET_BIN_DIR(Import Import /Mod/Import)
if(WIN32)
set_target_properties(Import PROPERTIES PREFIX "")
set_target_properties(Import PROPERTIES SUFFIX ".pyd")
endif(WIN32)

View File

@@ -48,6 +48,7 @@ fc_target_copy_resource(ImportGui
SET_BIN_DIR(ImportGui ImportGui /Mod/Import)
if(WIN32)
set_target_properties(ImportGui PROPERTIES PREFIX "")
set_target_properties(ImportGui PROPERTIES SUFFIX ".pyd")
endif(WIN32)