Fix a few CMake warnings
Use AUTO_RESOURCE_PREFIX and move QML modules into suitable output directories. Change-Id: If39218450cf8dda41547c45a9b5deaa8673915bf Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
This commit is contained in:
parent
cda417cf03
commit
0b508c9617
|
@ -22,6 +22,8 @@ qt6_add_qml_module(testCppTypes
|
||||||
URI TestTypes
|
URI TestTypes
|
||||||
SOURCES
|
SOURCES
|
||||||
commontypes.h
|
commontypes.h
|
||||||
|
AUTO_RESOURCE_PREFIX
|
||||||
|
OUTPUT_DIRECTORY TestTypes
|
||||||
)
|
)
|
||||||
qt_autogen_tools_initial_setup(testCppTypesplugin)
|
qt_autogen_tools_initial_setup(testCppTypesplugin)
|
||||||
|
|
||||||
|
|
|
@ -80,6 +80,7 @@ qt_add_qml_module(tst-qmltyperegistrar-with-dashes
|
||||||
AUTO_RESOURCE_PREFIX
|
AUTO_RESOURCE_PREFIX
|
||||||
SOURCES
|
SOURCES
|
||||||
foo.cpp foo.h
|
foo.cpp foo.h
|
||||||
|
OUTPUT_DIRECTORY Module-With-Dashes
|
||||||
)
|
)
|
||||||
qt_autogen_tools_initial_setup(tst-qmltyperegistrar-with-dashesplugin)
|
qt_autogen_tools_initial_setup(tst-qmltyperegistrar-with-dashesplugin)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue