+ 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

@@ -96,6 +96,7 @@ target_link_libraries(FreeCADMainPy FreeCADApp)
SET_BIN_DIR(FreeCADMainPy FreeCAD)
if(WIN32)
set_target_properties(FreeCADMainPy PROPERTIES PREFIX "")
set_target_properties(FreeCADMainPy PROPERTIES SUFFIX ".pyd")
endif(WIN32)
@@ -123,6 +124,7 @@ if(FREECAD_BUILD_GUI)
SET_BIN_DIR(FreeCADGuiPy FreeCADGui)
if(WIN32)
set_target_properties(FreeCADGuiPy PROPERTIES PREFIX "")
set_target_properties(FreeCADGuiPy PROPERTIES SUFFIX ".pyd")
endif(WIN32)