diff options
author | samelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-10-24 22:00:51 +0000 |
---|---|---|
committer | samelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-10-24 22:00:51 +0000 |
commit | d7a101293d26e9bf083db10407970f945c2b4407 (patch) | |
tree | fb3d90be671c19065d3ad4c0ccdd7c62ea1ea928 /modules/FindTQt.cmake | |
parent | 7cefea48380636e4fecb7064394669f545d6b31d (diff) | |
download | tde-cmake-d7a101293d26e9bf083db10407970f945c2b4407.tar.gz tde-cmake-d7a101293d26e9bf083db10407970f945c2b4407.zip |
[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
Diffstat (limited to 'modules/FindTQt.cmake')
-rw-r--r-- | modules/FindTQt.cmake | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/modules/FindTQt.cmake b/modules/FindTQt.cmake new file mode 100644 index 0000000..018a035 --- /dev/null +++ b/modules/FindTQt.cmake @@ -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 ) |