chore: small cmake cleanup

lib/platform: use the REQUIRED_QT_VERSION when looking for Qt Dbus module
  lib/deskflow: rm extra space in cmake file
This commit is contained in:
sithlord48
2025-02-10 21:42:24 -05:00
committed by Nick Bolton
parent cb14d158cc
commit e420b9b986
2 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ elseif(UNIX)
)
endif()
add_library(${lib_name} STATIC ${PLATFORM_CODE}
add_library(${lib_name} STATIC ${PLATFORM_CODE}
App.cpp
App.h
AppUtil.cpp

View File

@ -183,7 +183,7 @@ if(UNIX)
${libs})
if(NOT APPLE)
find_package(Qt6 COMPONENTS DBus)
find_package(Qt6 ${REQUIRED_QT_VERSION} REQUIRED COMPONENTS DBus)
target_link_libraries(platform Qt6::DBus)
link_wayland_libs()