Commit 5d022b43 authored by Marco Martin's avatar Marco Martin

Don't build pci module on ARM

Summary:
so far all (supported by us, at least somewhat)
arm systems don't have pci at all, so this module
beside crashing doesn't do anything at all

BUG:335908

Test Plan: no kcm at all on arm

Reviewers: #plasma

Reviewed By: #plasma

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D9682
parent 200232d2
......@@ -44,7 +44,7 @@ set_package_properties(PCIUTILS PROPERTIES DESCRIPTION "PciUtils is a library fo
PURPOSE "View PCI details in kinfocenter."
)
if(NOT APPLE)
if(NOT APPLE AND NOT ${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm" AND NOT ${CMAKE_SYSTEM_PROCESSOR} MATCHES "aarch64")
add_subdirectory( pci )
endif()
endif()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment