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

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

View File

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