diff options
author | Leandro A. F. Pereira <leandro@hardinfo.org> | 2021-09-27 09:30:56 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-27 09:30:56 -0700 |
commit | 78e2875e91ca999d75be26315753f9077cb86a5b (patch) | |
tree | 0036571da8f22a98a245e7bbdc3a6a66f0aefb9a | |
parent | d5a226ba4d0a958d084fdb4b9d231f50afb5c85f (diff) |
Link all modules with json-glib
Should address #551.
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 595d9cae..2499e7fe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -230,8 +230,8 @@ set_source_files_properties( foreach (_module ${HARDINFO_MODULES}) add_library(${_module} MODULE ${MODULE_${_module}_SOURCES}) set_target_properties(${_module} PROPERTIES PREFIX "") + target_link_libraries(${_module} ${JSON_GLIB_LIBRARIES}) endforeach() -target_link_libraries(benchmark ${JSON_GLIB_LIBRARIES}) find_library(LIBSENSORS_LIBRARY NAMES libsensors.so) if (LIBSENSORS_LIBRARY) |