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