mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Fixed "Found sed" messages from displaying on every cmake.
This commit is contained in:
parent
79596c03d5
commit
71df50c0a5
1 changed files with 7 additions and 4 deletions
|
@ -54,11 +54,14 @@ endif ()
|
|||
## Dependency Configuration
|
||||
##
|
||||
|
||||
find_program(SED_EXE sed)
|
||||
# Check cache value first to avoid displaying "Found sed" messages everytime
|
||||
if (NOT SED_EXE)
|
||||
find_program(SED_EXE sed)
|
||||
if (NOT SED_EXE)
|
||||
message(FATAL_ERROR "Could not find required dependency: sed")
|
||||
else ()
|
||||
else ()
|
||||
message(STATUS "Found sed: ${SED_EXE}")
|
||||
endif ()
|
||||
endif ()
|
||||
|
||||
find_package(Perl REQUIRED)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue