Add initial support for different libdir (jobermayr)
This commit is contained in:
@@ -108,6 +108,7 @@ SET(PartDesign_Scripts
|
||||
Scripts/Gear.py
|
||||
Scripts/DistanceBolt.py
|
||||
Scripts/Epitrochoid.py
|
||||
Scripts/FilletArc.py
|
||||
Scripts/RadialCopy.py
|
||||
Scripts/Parallelepiped.py
|
||||
Scripts/Spring.py
|
||||
@@ -127,11 +128,8 @@ fc_target_copy_resource(PartDesign
|
||||
${CMAKE_BINARY_DIR}/Mod/PartDesign
|
||||
${PartDesign_Scripts})
|
||||
|
||||
# See link for why this module is installed differently from the other modules:
|
||||
# http://forum.freecadweb.org/viewtopic.php?f=19&t=5444
|
||||
SET_BIN_DIR(PartDesign PartDesign /Mod/PartDesign /Mod/PartDesign)
|
||||
SET_BIN_DIR(PartDesign PartDesign /Mod/PartDesign)
|
||||
SET_PYTHON_PREFIX_SUFFIX(PartDesign)
|
||||
|
||||
# The PartDesign module must go to where the __init__.py file is
|
||||
INSTALL(TARGETS PartDesign DESTINATION Mod/PartDesign)
|
||||
INSTALL(TARGETS PartDesign DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||
|
||||
|
||||
@@ -189,11 +189,8 @@ fc_target_copy_resource(PartDesignGui
|
||||
${CMAKE_BINARY_DIR}/Mod/PartDesign
|
||||
${PartDesignGui_Scripts})
|
||||
|
||||
# See link for why this module is installed differently from the other modules:
|
||||
# http://forum.freecadweb.org/viewtopic.php?f=19&t=5444
|
||||
SET_BIN_DIR(PartDesignGui PartDesignGui /Mod/PartDesign /Mod/PartDesign)
|
||||
SET_BIN_DIR(PartDesignGui PartDesignGui /Mod/PartDesign)
|
||||
SET_PYTHON_PREFIX_SUFFIX(PartDesignGui)
|
||||
|
||||
# The PartDesign module must go to where the __init__.py file is
|
||||
INSTALL(TARGETS PartDesignGui DESTINATION Mod/PartDesign)
|
||||
INSTALL(TARGETS PartDesignGui DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
#* Juergen Riegel 2002 *
|
||||
#***************************************************************************/
|
||||
|
||||
|
||||
class PartDesignDocument:
|
||||
"PartDesign document"
|
||||
def Info(self):
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
import PartDesign
|
||||
makeFilletArc = PartDesign.makeFilletArc
|
||||
import Scripts.FilletArc
|
||||
makeFilletArc = Scripts.FilletArc.makeFilletArc
|
||||
|
||||
Reference in New Issue
Block a user