Move python module prefix and suffix properties into macro to be set together

This commit is contained in:
mdinger
2014-05-01 12:02:07 -04:00
committed by wmayer
parent e6278d56b9
commit 1498e99cef
45 changed files with 59 additions and 190 deletions

View File

@@ -68,9 +68,6 @@ fc_target_copy_resource(MeshPart
Init.py)
SET_BIN_DIR(MeshPart MeshPart /Mod/MeshPart)
if(WIN32)
set_target_properties(MeshPart PROPERTIES PREFIX "")
set_target_properties(MeshPart PROPERTIES SUFFIX ".pyd")
endif(WIN32)
SET_PYTHON_PREFIX_SUFFIX(MeshPart)
INSTALL(TARGETS MeshPart DESTINATION lib)

View File

@@ -70,9 +70,6 @@ fc_target_copy_resource(MeshPartGui
InitGui.py)
SET_BIN_DIR(MeshPartGui MeshPartGui /Mod/MeshPart)
if(WIN32)
set_target_properties(MeshPartGui PROPERTIES PREFIX "")
set_target_properties(MeshPartGui PROPERTIES SUFFIX ".pyd")
endif(WIN32)
SET_PYTHON_PREFIX_SUFFIX(MeshPartGui)
INSTALL(TARGETS MeshPartGui DESTINATION lib)