We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00f9fd6 commit 8d14d30Copy full SHA for 8d14d30
build/FindQt.cmake
@@ -1,6 +1,10 @@
1
find_package(Qt6 6.6 COMPONENTS Gui Qml Quick REQUIRED)
2
set(QT_LIBS Qt6::Gui Qt6::Qml Qt6::Quick)
3
4
+if (SCRATCHCPPGUI_BUILD_UNIT_TESTS)
5
+ find_package(Qt6 6.6 COMPONENTS Test REQUIRED)
6
+endif()
7
+
8
function(linkQt TARGET)
9
target_link_libraries(${TARGET} PRIVATE ${QT_LIBS})
10
endfunction()
0 commit comments