cmake: fix building out of the tree
authorPetr Štetiar <ynezz@true.cz>
Tue, 8 Dec 2020 15:37:42 +0000 (16:37 +0100)
committerPetr Štetiar <ynezz@true.cz>
Wed, 9 Dec 2020 07:03:11 +0000 (08:03 +0100)
commitc26f71e844df078d2b52307594022bf4924b4915
treece69102e268ac75cb82a01733ea7eaf420516c9a
parent50abd211c4a2c66748d4e7dc2afcb202b5f529b1
cmake: fix building out of the tree

When building out of the tree, linker is unable to find the ubox library
so fix it by using find_library CMake command.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
CMakeLists.txt