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

@@ -70,9 +70,6 @@ fc_target_copy_resource(ImportPy
${SCL_Resources})
SET_BIN_DIR(Import Import /Mod/Import)
if(WIN32)
set_target_properties(Import PROPERTIES PREFIX "")
set_target_properties(Import PROPERTIES SUFFIX ".pyd")
endif(WIN32)
SET_PYTHON_PREFIX_SUFFIX(Import)
INSTALL(TARGETS Import DESTINATION lib)

View File

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