Skip to content

Commit

Permalink
Fix hiredis being built when not needed
Browse files Browse the repository at this point in the history
fixes #5125
  • Loading branch information
Crunsher committed Apr 3, 2017
1 parent 46900ce commit 273c893
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions third-party/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,8 @@ if(UNIX OR CYGWIN)
add_subdirectory(execvpe)
endif()

add_subdirectory(socketpair)
add_subdirectory(hiredis)
if(ICINGA2_WITH_REDIS)
add_subdirectory(hiredis)
endif()

add_subdirectory(socketpair)

0 comments on commit 273c893

Please sign in to comment.