summaryrefslogtreecommitdiffstats
path: root/modules/TDEMacros.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'modules/TDEMacros.cmake')
-rw-r--r--modules/TDEMacros.cmake6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/TDEMacros.cmake b/modules/TDEMacros.cmake
index 661587f..b438deb 100644
--- a/modules/TDEMacros.cmake
+++ b/modules/TDEMacros.cmake
@@ -773,10 +773,12 @@ macro( tde_import _library )
else()
if( EXISTS "${TDE_CMAKE_DIR}/${_library}.cmake" )
include( "${TDE_CMAKE_DIR}/${_library}.cmake" )
- message( STATUS " ok, found import file" )
+ elseif( EXISTS "${TQT_CMAKE_DIR}/${_library}.cmake" )
+ include( "${TQT_CMAKE_DIR}/${_library}.cmake" )
else()
- tde_message_fatal( "'${_library}' are required,\n but is not installed nor selected for build" )
+ tde_message_fatal( "'${_library}' is required, but is not installed nor selected for build" )
endif()
+ message( STATUS " ok, found import file" )
endif()
endmacro()