cmake: Fail if undefined symbols are used
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 11 Nov 2023 21:18:18 +0000 (22:18 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 11 Nov 2023 21:22:59 +0000 (22:22 +0100)
commit263b9a97cf7e1e2467319c23832b705fc01190b5
tree2cf5f41d982deaedf77d3cef603c49713409116c
parent91666a38b7bd4bd353394986d8343a33ba61d8e2
cmake: Fail if undefined symbols are used

Make the linking of the shared library fail when undefined symbols are
used. Linking undefined symbols in a shared library normally works and
the linking of the binary using the shared library fails. We also
compile some example applications and they failed already.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
CMakeLists.txt