cmake: fix building out of the tree
authorPetr Štetiar <[email protected]>
Tue, 8 Dec 2020 09:06:29 +0000 (10:06 +0100)
committerPetr Štetiar <[email protected]>
Tue, 8 Dec 2020 11:37:27 +0000 (12:37 +0100)
commitb6e34845124ff8042526afbc7e0d66b016be8771
tree44c1b92d09edda4ec7294d5f277fedd2e2ca7152
parentc66098611f16806a936a3a3f92113a16382fc4d9
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 <[email protected]>
CMakeLists.txt