cmake: use variables and find_library for dependency
authorHauke Mehrtens <hauke@hauke-m.de>
Fri, 1 Jan 2021 01:17:57 +0000 (02:17 +0100)
committerChristian Marangi <ansuelsmth@gmail.com>
Tue, 28 Jun 2022 23:43:33 +0000 (01:43 +0200)
commit8ba0b640aed7df39f2ce6d4c2182207b3294849e
tree0924b41081bb7308e94d26e0bf4f6afd93aaa021
parentd59d732a10a4a2b9f18af6dfc3facf696108f31e
cmake: use variables and find_library for dependency

Use FIND_LIBRARY to search the dependency and use variables to reference
them in the CMakeLists file.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
[ improve commit description ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
CMakeLists.txt