v31.1-roots.1 · Commit 1: [PATCH 01/17] build(roots): establish v31 portability foundation
src/qt/test/CMakeLists.txt
Before: src/qt/test/CMakeLists.txt · After: src/qt/test/CMakeLists.txt
File metadata
index 2fb8beadea356b52b6c16f84725a1df662c572b9..29f46caf42a973e66fceeeafd47b87ec08161d44 100644
Download original patch · Release notes
Diff rows 1–16 of 16. Line numbers refer to the original before/after files.
+ Added− RemovedUnmarked lines are context.
Scroll the code area horizontally to read long lines. The two line-number columns refer to before and after.
src/qt/test/CMakeLists.txt
CHANGED
|
@@ -22,7 +22,7 @@ target_link_libraries(test_bitcoin-qt
|
|
|
22
22
|
test_util
|
|
23
23
|
bitcoin_node
|
|
24
24
|
Boost::headers
|
|
25
|
-
Qt6::Test
|
|
25
|
+
Qt${WITH_QT_VERSION}::Test
|
|
26
26
|
)
|
|
27
27
|
|
|
28
28
|
import_plugins(test_bitcoin-qt)
|
|
@@ -40,7 +40,7 @@ add_test(NAME test_bitcoin-qt
|
|
|
40
40
|
COMMAND test_bitcoin-qt
|
|
41
41
|
)
|
|
42
42
|
if(WIN32 AND VCPKG_TARGET_TRIPLET)
|
|
43
|
-
set(plugin_path "$<SHELL_PATH:$<PATH:GET_PARENT_PATH,$<PATH:GET_PARENT_PATH,$<TARGET_PROPERTY:Qt6::QWindowsIntegrationPlugin,LOCATION_$<CONFIG>>>>>")
|
|
43
|
+
set(plugin_path "$<SHELL_PATH:$<PATH:GET_PARENT_PATH,$<PATH:GET_PARENT_PATH,$<TARGET_PROPERTY:Qt${WITH_QT_VERSION}::QWindowsIntegrationPlugin,LOCATION_$<CONFIG>>>>>")
|
|
44
44
|
set_property(TEST test_bitcoin-qt APPEND PROPERTY
|
|
45
45
|
ENVIRONMENT_MODIFICATION
|
|
46
46
|
# On Windows, vcpkg configures Qt with `-opengl dynamic`, which makes
|