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:
@ -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()
|
||||
|
||||
Reference in New Issue
Block a user