summaryrefslogtreecommitdiffstats
path: root/cmake/modules/FindTQt.cmake
blob: 018a035e148aede656a549db2ac79b75846098e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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 )