We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f690e2b commit a54e26aCopy full SHA for a54e26a
openhantek/CMakeLists.txt
@@ -66,6 +66,10 @@ endif()
66
add_executable(${PROJECT_NAME} ${EXECTYPE} ${SRC} ${HEADERS} ${UI}
67
${QRC} ${RC} ${TRANSLATION_BIN_FILES} ${TRANSLATION_QRC} ${ICONS})
68
target_link_libraries(${PROJECT_NAME} Qt6::Widgets Qt6::PrintSupport Qt6::OpenGL Qt6::OpenGLWidgets ${OPENGL_LIBRARIES} )
69
+if( APPLE AND BUILD_MACOSX_BUNDLE )
70
+ find_package(Qt6 REQUIRED COMPONENTS DBus)
71
+ target_link_libraries(${PROJECT_NAME} Qt6::DBus )
72
+endif()
73
target_compile_features(${PROJECT_NAME} PRIVATE cxx_range_for)
74
75
if(MSVC)
0 commit comments