Skip to content

Commit

Permalink
cmake BUGFIX libnetconf2 module dir is required
Browse files Browse the repository at this point in the history
  • Loading branch information
michalvasko committed May 2, 2024
1 parent da8bd73 commit 4554c44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@ endif()
if(NOT LN2_THREAD_COUNT)
message(STATUS "Unable to learn libnetconf2 thread support, check skipped")
endif()
if(SYSREPO_SETUP AND NOT LN2_YANG_MODULE_DIR)
message(FATAL_ERROR "Unable to learn libnetconf2 module search directory.")
if(NOT LN2_YANG_MODULE_DIR)
message(FATAL_ERROR "Unable to learn libnetconf2 module search directory, define LN2_YANG_MODULE_DIR manually.")
endif()

if(ENABLE_VALGRIND_TESTS)
Expand Down

0 comments on commit 4554c44

Please sign in to comment.