summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-03-27 22:03:55 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-03-27 22:03:55 +0000
commit4448315e65918e744219f7b814effa54e796e286 (patch)
tree8f2ca9f57584ad2ad56f966fa5c09c0558929830 /CMakeLists.txt
parentcba01693b4883ecefb114e4dd2dfea209f2a6675 (diff)
downloadarts-4448315e65918e744219f7b814effa54e796e286.tar.gz
arts-4448315e65918e744219f7b814effa54e796e286.zip
arts, kdelibs, kdebase, kdepim: use new tqt build system
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/arts@1226236 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt21
1 files changed, 6 insertions, 15 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f187b65..b442d86 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -37,19 +37,11 @@ option( WITH_MAD "Enable MAD mp3 decoder support" ON )
##### paths setup ###############################
-macro( _tde_internal_setup_path _path _default )
- if( DEFINED ${_path} )
- set( ${_path} "${${_path}}" CACHE INTERNAL "" FORCE )
- else( )
- set( ${_path} "${_default}" )
- endif( )
-endmacro( _tde_internal_setup_path )
-
-_tde_internal_setup_path( EXEC_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}" )
-_tde_internal_setup_path( BIN_INSTALL_DIR "${EXEC_INSTALL_PREFIX}/bin" )
-_tde_internal_setup_path( LIB_INSTALL_DIR "${EXEC_INSTALL_PREFIX}/lib${LIB_SUFFIX}" )
-_tde_internal_setup_path( INCLUDE_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/include/${CMAKE_PROJECT_NAME}" )
-_tde_internal_setup_path( PKGCONFIG_INSTALL_DIR "${LIB_INSTALL_DIR}/pkgconfig" )
+tde_setup_install_path( EXEC_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}" )
+tde_setup_install_path( BIN_INSTALL_DIR "${EXEC_INSTALL_PREFIX}/bin" )
+tde_setup_install_path( LIB_INSTALL_DIR "${EXEC_INSTALL_PREFIX}/lib${LIB_SUFFIX}" )
+tde_setup_install_path( INCLUDE_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/include/${CMAKE_PROJECT_NAME}" )
+tde_setup_install_path( PKGCONFIG_INSTALL_DIR "/usr/lib${LIB_SUFFIX}/pkgconfig" )
##### check for include files ###################
@@ -167,11 +159,10 @@ else( GLIB2_FOUND )
endif( GLIB2_FOUND )
-##### check for Qt3 and TQt #####################
+##### check for TQt #############################
include( CheckCXXSourceCompiles )
-find_package( Qt )
find_package( TQt )