+ Fix prefix of Python extensions built with MinGW
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user