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