+ Fix prefix of Python extensions built with MinGW
This commit is contained in:
@@ -44,6 +44,7 @@ fc_target_copy_resource(Inspection
|
||||
|
||||
SET_BIN_DIR(Inspection Inspection /Mod/Inspection)
|
||||
if(WIN32)
|
||||
set_target_properties(Inspection PROPERTIES PREFIX "")
|
||||
set_target_properties(Inspection PROPERTIES SUFFIX ".pyd")
|
||||
endif(WIN32)
|
||||
|
||||
|
||||
@@ -61,6 +61,7 @@ fc_target_copy_resource(InspectionGui
|
||||
|
||||
SET_BIN_DIR(InspectionGui InspectionGui /Mod/Inspection)
|
||||
if(WIN32)
|
||||
set_target_properties(InspectionGui PROPERTIES PREFIX "")
|
||||
set_target_properties(InspectionGui PROPERTIES SUFFIX ".pyd")
|
||||
endif(WIN32)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user