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:
parent
cb14d158cc
commit
e420b9b986
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in a new issue