Skip to content

Commit

Permalink
fix: added popt check
Browse files Browse the repository at this point in the history
  • Loading branch information
ncvicchi committed Sep 4, 2024
1 parent 1eb21bc commit d84704b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/common/data_provider/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,9 @@ elseif(APPLE)
endif(CMAKE_SYSTEM_NAME STREQUAL "Windows")

find_library(POPT_LIBRARY libpopt)
if(NOT POPT_LIBRARY)
message(FATAL_ERROR "libpopt library not found! Aborting...")
endif()
target_link_libraries(sysinfo
networkHelper
nlohmann_json::nlohmann_json
Expand Down

0 comments on commit d84704b

Please sign in to comment.