|
|
|
@ -51,7 +51,7 @@ else (NOT QTC_QT_ONLY)
|
|
|
|
|
endif (NOT QTC_QT_ONLY)
|
|
|
|
|
|
|
|
|
|
#if (NOT QTC_QT_ONLY)
|
|
|
|
|
exec_program(kde-config
|
|
|
|
|
exec_program(tde-config
|
|
|
|
|
ARGS --prefix --expandvars
|
|
|
|
|
OUTPUT_VARIABLE CMAKE_INSTALL_PREFIX)
|
|
|
|
|
#endif (NOT QTC_QT_ONLY)
|
|
|
|
@ -65,13 +65,13 @@ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -I/opt/trinity/include")
|
|
|
|
|
SET(QT_UIC_EXECUTABLE "/usr/bin/uic-tqt" CACHE FILEPATH "")
|
|
|
|
|
SET(QT_MOC_EXECUTABLE "/usr/bin/tmoc" CACHE FILEPATH "")
|
|
|
|
|
|
|
|
|
|
exec_program(kde-config
|
|
|
|
|
exec_program(tde-config
|
|
|
|
|
ARGS --install locale --expandvars
|
|
|
|
|
OUTPUT_VARIABLE KDE3_LOCALE_PREFIX)
|
|
|
|
|
|
|
|
|
|
file(TO_CMAKE_PATH "$ENV{TDEDIRS}" _TDEDIRS)
|
|
|
|
|
|
|
|
|
|
# For KDE4 kde-config has been renamed to kde4-config
|
|
|
|
|
# For KDE4 tde-config has been renamed to kde4-config
|
|
|
|
|
find_program(KDE4_KDECONFIG_EXECUTABLE
|
|
|
|
|
NAMES kde4-config
|
|
|
|
|
PATHS ${CMAKE_INSTALL_PREFIX}/bin ${_TDEDIRS} /usr/local/bin /usr/bin /opt/kde4/bin NO_DEFAULT_PATH)
|
|
|
|
|