Skip to content

Commit

Permalink
[cmake] print warning if oms not enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
r00t- committed Apr 24, 2024
1 parent dbbdd91 commit 6e71155
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,10 @@ if( ENABLE_LOCAL AND NOT MICROHTTPD_FOUND )
Install microhttpd or call cmake -DMICROHTTPD_HOME=path_to_microhttpd_install")
endif( ENABLE_LOCAL AND NOT MICROHTTPD_FOUND )

if( ENABLE_OMS AND NOT OMS_SUPPORT)
message(WARNING "oms support not being enabled (libmbus not found)")
endif( ENABLE_OMS AND NOT OMS_SUPPORT)

# add clean-all target that removes the cached files from cmake as well (see e.g. issue #186)
add_custom_target(clean-all
COMMAND ${CMAKE_BUILD_TOOL} clean
Expand Down

0 comments on commit 6e71155

Please sign in to comment.