mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-18 07:55:21 +01:00
Linux: CMakeLists: only require libdrm on embedded platform
Closes #692
This commit is contained in:
parent
6b918b448e
commit
457f2fdbed
1 changed files with 1 additions and 2 deletions
|
@ -118,8 +118,7 @@ if(${QT}DBus_FOUND AND UNIX AND NOT APPLE)
|
|||
set(EXTRALIBS ${EXTRALIBS} ${QT}::DBus)
|
||||
message("udisks2 support enabled")
|
||||
endif()
|
||||
# NOT ${QT}Widgets_FOUND AND
|
||||
if (UNIX AND NOT APPLE)
|
||||
if (NOT ${QT}Widgets_FOUND AND UNIX AND NOT APPLE)
|
||||
find_package(PkgConfig REQUIRED)
|
||||
pkg_check_modules(LIBDRM REQUIRED libdrm)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue