We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ab49e0c + 0697574 commit 03c55f6Copy full SHA for 03c55f6
cmake/Findglog.cmake
@@ -2,9 +2,7 @@ if(NOT COMMAND feature_summary)
2
include(FeatureSummary)
3
endif()
4
5
-if(NOT PKG_CONFIG_FOUND)
6
- include(FindPkgConfig)
7
-endif()
+find_package(PkgConfig QUIET)
8
9
if(NOT DEFINED GLOG_ROOT)
10
set(GLOG_ROOT /usr /usr/local)
@@ -58,7 +56,7 @@ endmacro()
58
56
_find_glog_libraries(GLOG_LIBRARIES libglog.so)
59
57
60
include(FindPackageHandleStandardArgs)
61
-find_package_handle_standard_args(GLOG DEFAULT_MSG GLOG_LIBRARIES)
+find_package_handle_standard_args(glog DEFAULT_MSG GLOG_LIBRARIES)
62
63
if(GLOG_FOUND)
64
message(STATUS "glog library found at ${GLOG_LIBRARIES}")
0 commit comments