From 0b28f66691cb1b093623acd163a7681619713f55 Mon Sep 17 00:00:00 2001 From: jared Date: Thu, 11 May 2023 21:50:42 +0800 Subject: [PATCH] update cmake --- cmake/taoQuick.cmake | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/cmake/taoQuick.cmake b/cmake/taoQuick.cmake index 40e235f1..ad4eb047 100644 --- a/cmake/taoQuick.cmake +++ b/cmake/taoQuick.cmake @@ -12,7 +12,11 @@ add_compile_definitions(TaoQuickImage="${TaoQuickImage}") add_compile_definitions(TaoQuickImportPath="${TaoQuickImport}") -add_compile_definitions(QML_IMPORT_PATH="${TaoQuickPath}") -add_compile_definitions(QML2_IMPORT_PATH="${TaoQuickPath}") -add_compile_definitions(QML_DESIGNER_IMPORT_PATH="${TaoQuickPath}") +#add_compile_definitions(QML_IMPORT_PATH="${TaoQuickPath}") +#add_compile_definitions(QML2_IMPORT_PATH="${TaoQuickPath}") +#add_compile_definitions(QML_DESIGNER_IMPORT_PATH="${TaoQuickPath}") + +set(QML_IMPORT_PATH ${TaoQuickPath} CACHE STRING "") +set(QML2_IMPORT_PATH ${TaoQuickPath} CACHE STRING "") +set(QML_DESIGNER_IMPORT_PATH ${TaoQuickPath} CACHE STRING "")