FIND_PACKAGE(SalomeSphinx REQUIRED)
ENDIF()
-SET(BINDIR bin/salome)
-SET(RESDIR share/salome/resources/parametric)
-SET(LIBDIR lib/salome)
-SET(PYTHONDIR lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages/salome)
+SET(RESDIR ${SALOME_INSTALL_RES}/parametric)
SET(DOCDIR share/doc/salome/gui/PARAMETRIC)
ADD_SUBDIRECTORY(idl)
TARGET_LINK_LIBRARIES(SalomeIDLPARAMETRIC ${OMNIORB_LIBRARIES} ${KERNEL_LDFLAGS} ${SalomeIDLKernel})
SET_TARGET_PROPERTIES(SalomeIDLPARAMETRIC PROPERTIES COMPILE_FLAGS "${OMNIORB_DEFINITIONS}")
-INSTALL(TARGETS SalomeIDLPARAMETRIC DESTINATION ${LIBDIR})
+INSTALL(TARGETS SalomeIDLPARAMETRIC DESTINATION ${SALOME_INSTALL_LIBS})
# You should have received a copy of the GNU Lesser General Public License
# along with SALOME PARAMETRIC module. If not, see <http://www.gnu.org/licenses/>.
-INSTALL_AND_COMPILE_PYTHON_FILE(PARAMETRIC.py ${BINDIR})
+INSTALL_AND_COMPILE_PYTHON_FILE(PARAMETRIC.py ${SALOME_INSTALL_PYTHON})
# You should have received a copy of the GNU Lesser General Public License
# along with SALOME PARAMETRIC module. If not, see <http://www.gnu.org/licenses/>.
-INSTALL_AND_COMPILE_PYTHON_FILE(PARAMETRICGUI.py ${BINDIR})
+INSTALL_AND_COMPILE_PYTHON_FILE(PARAMETRICGUI.py ${SALOME_INSTALL_PYTHON})
__init__.py
)
-INSTALL_AND_COMPILE_PYTHON_FILE("${PYTHON_FILES}" ${PYTHONDIR}/salome)
+INSTALL_AND_COMPILE_PYTHON_FILE("${PYTHON_FILES}" ${SALOME_INSTALL_PYTHON}/salome)
study.py
)
-INSTALL_AND_COMPILE_PYTHON_FILE("${PYTHON_FILES}" ${PYTHONDIR}/salome/parametric)
+INSTALL_AND_COMPILE_PYTHON_FILE("${PYTHON_FILES}" ${SALOME_INSTALL_PYTHON}/salome/parametric)
wizard.py
)
SET(PYUIC_FILES wizard_ui.py varrange_ui.py execparams_ui.py genjob_ui.py definevalues_ui.py)
-SET(INSTALL_DIR ${PYTHONDIR}/salome/parametric/gui)
+SET(INSTALL_DIR ${SALOME_INSTALL_PYTHON}/salome/parametric/gui)
FOREACH(OUTPUT ${PYUIC_FILES})
STRING(REPLACE "_ui.py" ".ui" INPUT ${OUTPUT})