diff options
author | Timothy Pearson <[email protected]> | 2011-11-08 16:52:54 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-11-08 16:52:54 -0600 |
commit | 0f34dbddf9837ce16427600394b9e9145edd0dc6 (patch) | |
tree | 7883eaaa832551dd8ae9b5edcdf4111a124fa342 /ConfigureChecks.cmake | |
parent | 6351ace5b1923516f683adcc27488af6b23f3785 (diff) | |
download | tqtinterface-0f34dbddf9837ce16427600394b9e9145edd0dc6.tar.gz tqtinterface-0f34dbddf9837ce16427600394b9e9145edd0dc6.zip |
Fix tqtinterface on native TQt3
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r-- | ConfigureChecks.cmake | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 1ce5c9b..d5ff0eb 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -48,7 +48,11 @@ qt_message( " QT_PREFIX_DIR : ${QT_PREFIX_DIR}" ) # qt headers if( NOT DEFINED QT_INCLUDE_DIR ) if( QT_PREFIX_DIR STREQUAL "/usr" ) - set( QT_INCLUDE_DIR "${QT_PREFIX_DIR}/include/qt${QT_VERSION}" ) + if( EXISTS "${QT_PREFIX_DIR}/include/tqt${QT_VERSION}" ) + set( QT_INCLUDE_DIR "${QT_PREFIX_DIR}/include/tqt${QT_VERSION}" ) + else( ) + set( QT_INCLUDE_DIR "${QT_PREFIX_DIR}/include/qt${QT_VERSION}" ) + endif( ) else( ) set( QT_INCLUDE_DIR "${QT_PREFIX_DIR}/include" ) endif( ) |