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

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

View File

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