[kde-common/cmake] added find module for TQt

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1189385 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
pull/1/head
samelian 14 years ago
parent 7cefea4838
commit d7a101293d

@ -0,0 +1,20 @@
#################################################
#
# (C) 2010 Serghei Amelian
# serghei (DOT) amelian (AT) gmail.com
#
# Improvements and feedback are welcome
#
# This file is released under GPL >= 2
#
#################################################
pkg_search_module( TQT TQt )
# find tmoc, a simple TQt wrapper over moc
if( NOT TQT_TMOC_EXECUTABLE )
find_program( TQT_TMOC_EXECUTABLE
NAMES tmoc
HINTS ${TQTDIR}/bin $ENV{TQTDIR}/bin
PATHS ${BINDIR} )
endif( NOT TQT_TMOC_EXECUTABLE )
Loading…
Cancel
Save