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