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 e833340 commit 871f46cCopy full SHA for 871f46c
CMakeLists.txt
@@ -10,6 +10,11 @@ option(SCRATCHCPP_PLAYER_BUILD_UNIT_TESTS "Build unit tests" ON)
10
find_package(Qt6 6.6 COMPONENTS Quick QuickControls2 Widgets OpenGLWidgets REQUIRED)
11
set(QT_LIBS Qt6::Quick Qt6::QuickControls2 Qt6::Widgets Qt6::OpenGLWidgets)
12
13
+if (LINUX)
14
+ find_package(Qt6 6.6 COMPONENTS DBus REQUIRED)
15
+ set(QT_LIBS ${QT_LIBS} Qt6::DBus)
16
+endif()
17
+
18
if (SCRATCHCPP_PLAYER_BUILD_UNIT_TESTS)
19
set(GTEST_DIR thirdparty/googletest)
20
add_subdirectory(${PROJECT_SOURCE_DIR}/${GTEST_DIR} ${CMAKE_CURRENT_BINARY_DIR}/${GTEST_DIR})
0 commit comments