-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7bac262
commit b373ba9
Showing
5 changed files
with
37 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index c2b0a09b..2645ff66 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -177,7 +177,8 @@ find_package(QGLViewer) | ||
option(G2O_USE_LOGGING "Try to use spdlog for logging" ON) | ||
set(G2O_HAVE_LOGGING 0) | ||
if (G2O_USE_LOGGING) | ||
- find_package(spdlog 1.6 QUIET) | ||
+ find_package(spdlog 1.6 REQUIRED CONFIG) | ||
+ set(G2O_HAVE_LOGGING 1) | ||
if (TARGET spdlog::spdlog OR TARGET spdlog::spdlog_header_only) | ||
set(G2O_HAVE_LOGGING 1) | ||
message(STATUS "Compiling with logging support") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters