${GUI_ROOT_DIR}/adm_local/cmake_files)
FIND_PACKAGE(OMNIORB)
-FIND_PACKAGE(PYTHON)
-FIND_PACKAGE(SPHINX)
-FIND_PACKAGE(SIPPYQT)
+FIND_PACKAGE(SalomePYTHON)
+FIND_PACKAGE(SalomeSPHINX)
+FIND_PACKAGE(SalomeSIP)
+FIND_PACKAGE(SalomePYQT4)
SET(BINDIR bin/salome)
SET(RESDIR share/salome/resources/parametric)
SET(INPUT ${CMAKE_CURRENT_SOURCE_DIR}/${INPUT})
SET(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${OUTPUT})
ADD_CUSTOM_COMMAND(OUTPUT ${OUTPUT}
- COMMAND ${PYUIC_EXECUTABLE} -o ${OUTPUT} ${INPUT}
+ COMMAND ${PYQT_PYUIC_EXECUTABLE} -o ${OUTPUT} ${INPUT}
MAIN_DEPENDENCY ${INPUT}
)
INSTALL(FILES ${OUTPUT} DESTINATION ${INSTALL_DIR})