Skip to content
Commit e4da47ca authored by Daniel Leung's avatar Daniel Leung Committed by Kumar Gala
Browse files

drivers: sensor: fix cmake empty library warning



When there is no sensor driver enabled, cmake warns that
the library has no sources. Fix that by wrapping cmake
library instructions inside kconfig.

Fixes #37765

Signed-off-by: default avatarDaniel Leung <daniel.leung@intel.com>
parent 4c3a023a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment