summaryrefslogtreecommitdiffstats
path: root/modules/TDEMacros.cmake
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2021-05-24 20:54:20 +0200
committerSlávek Banko <[email protected]>2021-05-24 20:54:20 +0200
commit639294f9627de22e91e016d81329a532d65ea8f4 (patch)
treec96fc94bc89fdc536cc7095f9c4cd48e69894c12 /modules/TDEMacros.cmake
parent0846fa1cb7ca2f8df276849f75196efc0935b846 (diff)
downloadtde-cmake-639294f9627de22e91e016d81329a532d65ea8f4.tar.gz
tde-cmake-639294f9627de22e91e016d81329a532d65ea8f4.zip
tde_add_ui_files: Use TDE_CMAKE_MODULES to determine the path for tde_uic.cmake.
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'modules/TDEMacros.cmake')
-rw-r--r--modules/TDEMacros.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/TDEMacros.cmake b/modules/TDEMacros.cmake
index bb871e1..92527b2 100644
--- a/modules/TDEMacros.cmake
+++ b/modules/TDEMacros.cmake
@@ -425,7 +425,8 @@ macro( tde_add_ui_files _sources )
-DUI_FILE:FILEPATH=${_ui_absolute_path}
-DMASTER_SOURCE_DIR:FILEPATH=${CMAKE_SOURCE_DIR}
-DMASTER_BINARY_DIR:FILEPATH=${CMAKE_BINARY_DIR}
- -P ${CMAKE_MODULE_PATH}/tde_uic.cmake
+ -DTDE_CMAKE_MODULES:FILEPATH=${TDE_CMAKE_MODULES}
+ -P ${TDE_CMAKE_MODULES}/tde_uic.cmake
DEPENDS ${_ui_absolute_path} )
endforeach( _ui_file )