Fix find_package call for standalone build of tst_material project
ShaderTools are not a component in the Qt6BuildInternals. Split
find_package call to two correct.
Amends cde11110f3
Pick-to: 6.5 6.7 6.8
Change-Id: I15ea3d6d8a7f89047daea55968c318cbf3a30449
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
This commit is contained in:
parent
349b1bfe34
commit
6848b6caa2
|
@ -6,7 +6,8 @@
|
|||
if (NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
project(tst_material LANGUAGES C CXX ASM)
|
||||
find_package(Qt6BuildInternals REQUIRED COMPONENTS ShaderTools STANDALONE_TEST)
|
||||
find_package(Qt6 REQUIRED COMPONENTS ShaderTools)
|
||||
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||
endif()
|
||||
|
||||
#####################################################################
|
||||
|
|
Loading…
Reference in New Issue