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()
|
endif()
|
||||||
|
|
||||||
add_library(${lib_name} STATIC ${PLATFORM_CODE}
|
add_library(${lib_name} STATIC ${PLATFORM_CODE}
|
||||||
App.cpp
|
App.cpp
|
||||||
App.h
|
App.h
|
||||||
AppUtil.cpp
|
AppUtil.cpp
|
||||||
|
|
|
||||||
|
|
@ -183,7 +183,7 @@ if(UNIX)
|
||||||
${libs})
|
${libs})
|
||||||
|
|
||||||
if(NOT APPLE)
|
if(NOT APPLE)
|
||||||
find_package(Qt6 COMPONENTS DBus)
|
find_package(Qt6 ${REQUIRED_QT_VERSION} REQUIRED COMPONENTS DBus)
|
||||||
target_link_libraries(platform Qt6::DBus)
|
target_link_libraries(platform Qt6::DBus)
|
||||||
|
|
||||||
link_wayland_libs()
|
link_wayland_libs()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue