Skip to content

Commit

Permalink
More CMake fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas Nilsson committed Jan 20, 2020
1 parent 3c0d6d2 commit 02351c2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmake/GraylogLoggerConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ find_dependency(ASIO REQUIRED MODULE)
find_dependency(nlohmann_json REQUIRED)
find_dependency(ConcurrentQueue REQUIRED)

if(fmt_FOUND)
set(WITH_FMT @fmt_FOUND@)

if(WITH_FMT)
find_package(fmt 6 REQUIRED)
endif()

Expand Down

0 comments on commit 02351c2

Please sign in to comment.