qt_common: fix building with Qt 6.10
All checks were successful
eden-license / license-header (pull_request) Successful in 28s
All checks were successful
eden-license / license-header (pull_request) Successful in 28s
Qt old style include variables are deprecated in Qt, see
<https://github.com/qt/qtbase/blob/v6.10.0/cmake/QtModuleConfig.cmake.in#L84>,
and Qt 6.10 stopped exporting them after
<ad7b94e163
>.
Signed-off-by: Marcin Serwin <marcin@serwin.dev>
This commit is contained in:
parent
776958c79d
commit
c6d4785711
1 changed files with 1 additions and 1 deletions
|
@ -46,5 +46,5 @@ if (NOT APPLE AND ENABLE_OPENGL)
|
|||
endif()
|
||||
|
||||
if (NOT WIN32)
|
||||
target_include_directories(qt_common PRIVATE ${Qt6Gui_PRIVATE_INCLUDE_DIRS})
|
||||
target_link_libraries(qt_common PRIVATE Qt6::GuiPrivate)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue