Move python module prefix and suffix properties into macro to be set together
This commit is contained in:
@@ -86,9 +86,6 @@ fc_target_copy_resource(Drawing
|
||||
${Drawing_Templates})
|
||||
|
||||
SET_BIN_DIR(Drawing Drawing /Mod/Drawing)
|
||||
if(WIN32)
|
||||
set_target_properties(Drawing PROPERTIES PREFIX "")
|
||||
set_target_properties(Drawing PROPERTIES SUFFIX ".pyd")
|
||||
endif(WIN32)
|
||||
SET_PYTHON_PREFIX_SUFFIX(Drawing)
|
||||
|
||||
INSTALL(TARGETS Drawing DESTINATION lib)
|
||||
|
||||
@@ -96,9 +96,6 @@ fc_target_copy_resource(DrawingGui
|
||||
InitGui.py)
|
||||
|
||||
SET_BIN_DIR(DrawingGui DrawingGui /Mod/Drawing)
|
||||
if(WIN32)
|
||||
set_target_properties(DrawingGui PROPERTIES PREFIX "")
|
||||
set_target_properties(DrawingGui PROPERTIES SUFFIX ".pyd")
|
||||
endif(WIN32)
|
||||
SET_PYTHON_PREFIX_SUFFIX(DrawingGui)
|
||||
|
||||
INSTALL(TARGETS DrawingGui DESTINATION lib)
|
||||
|
||||
Reference in New Issue
Block a user