Browse Source

[dependencies/arts] using our own macros to find Qt and TQt

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/arts@1212629 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
tags/v3.5.13
samelian 9 years ago
parent
commit
4eb340f04c
2 changed files with 4 additions and 14 deletions
  1. +3
    -13
      CMakeLists.txt
  2. +1
    -1
      qtmcop/CMakeLists.txt

+ 3
- 13
CMakeLists.txt View File

@@ -167,20 +167,10 @@ else( GLIB2_FOUND )
endif( GLIB2_FOUND )


##### check for Qt3 #############################
##### check for Qt3 and TQt #####################

find_package( Qt3 )
if( NOT QT_FOUND )
message(FATAL_ERROR "\nQt3 are required, but not found on your system" )
endif( NOT QT_FOUND )


##### check for TQt #############################

pkg_search_module( TQT TQt )
if( NOT TQT_FOUND )
message(FATAL_ERROR "\nTQt are required, but not found on your system" )
endif( NOT TQT_FOUND )
find_package( Qt )
find_package( TQt )


##### write config.h file #######################


+ 1
- 1
qtmcop/CMakeLists.txt View File

@@ -36,7 +36,7 @@ install( FILES

add_custom_command(
OUTPUT qiomanager_p.moc
COMMAND tqmoc ${CMAKE_CURRENT_SOURCE_DIR}/qiomanager_p.h -o qiomanager_p.moc
COMMAND ${TQT_TMOC_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/qiomanager_p.h -o qiomanager_p.moc
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/qiomanager_p.h
)



Loading…
Cancel
Save