summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/TDEMacros.cmake3
-rw-r--r--modules/tde_uic.cmake2
2 files changed, 3 insertions, 2 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 )
diff --git a/modules/tde_uic.cmake b/modules/tde_uic.cmake
index 36b921f..0b5421d 100644
--- a/modules/tde_uic.cmake
+++ b/modules/tde_uic.cmake
@@ -9,7 +9,7 @@
#
#################################################
-set( CMAKE_MODULE_PATH "${MASTER_SOURCE_DIR}/cmake/modules" )
+set( CMAKE_MODULE_PATH "${TDE_CMAKE_MODULES}" )
include( TDEMacros )
get_filename_component( _ui_basename ${UI_FILE} NAME_WE )