Move python module prefix and suffix properties into macro to be set together
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user