diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2020-01-16 12:11:36 -0800 |
---|---|---|
committer | Matt Ranostay <matt.ranostay@konsulko.com> | 2020-01-16 12:28:12 -0800 |
commit | 684576e945780fad08a6abb4c3b4aacfbc6ad9a8 (patch) | |
tree | 588788426898fa1ceb15313b21c6baa927251b26 /binding/CMakeLists.txt | |
parent | 8554afd321db96bdf0c82e9df0bdf934c7692c39 (diff) |
hvac: add missing linking to libm
HVAC binding requires several libm functions and failure to link causes the
following runtime failure.
libafm-hvac-binding.so: undefined symbol: round [afb-api-so.c:83,load_binding]
Bug-AGL: SPEC-2984
Change-Id: I963fd60d81d0ed6499ae6e4712e27070ce90959c
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'binding/CMakeLists.txt')
-rw-r--r-- | binding/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/binding/CMakeLists.txt b/binding/CMakeLists.txt index 96de16d..d452411 100644 --- a/binding/CMakeLists.txt +++ b/binding/CMakeLists.txt @@ -32,4 +32,4 @@ PROJECT_TARGET_ADD(afm-hvac-binding) ) # Library dependencies (include updates automatically) - TARGET_LINK_LIBRARIES(${TARGET_NAME} ${link_libraries}) + TARGET_LINK_LIBRARIES(${TARGET_NAME} ${link_libraries} m) |