summaryrefslogtreecommitdiffstats
path: root/modules/TDEMacros.cmake
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2022-01-12 17:21:45 +0100
committerSlávek Banko <slavek.banko@axis.cz>2022-01-13 02:21:57 +0100
commit321dec8aae24417f94637ed07b0e226fb5384290 (patch)
tree2a5de8fea3ef37ccb2adb8ae6150bcbcbdc149e1 /modules/TDEMacros.cmake
parent8a837898912fe9a8e975c0f178cca3e44a2e6a43 (diff)
downloadtde-cmake-321dec8aae24417f94637ed07b0e226fb5384290.tar.gz
tde-cmake-321dec8aae24417f94637ed07b0e226fb5384290.zip
Add TQT_CMAKE_DIR variable.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit d863e15b5049a05b617276fdf86e2df42a0d7501)
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 cd78866..9be9beb 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()