Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix warnings in Findglog.cmake #30

Merged
merged 1 commit into from
Oct 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions cmake/Findglog.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ if(NOT COMMAND feature_summary)
include(FeatureSummary)
endif()

if(NOT PKG_CONFIG_FOUND)
include(FindPkgConfig)
endif()
find_package(PkgConfig QUIET)

if(NOT DEFINED GLOG_ROOT)
set(GLOG_ROOT /usr /usr/local)
Expand Down Expand Up @@ -58,7 +56,7 @@ endmacro()
_find_glog_libraries(GLOG_LIBRARIES libglog.so)

include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(GLOG DEFAULT_MSG GLOG_LIBRARIES)
find_package_handle_standard_args(glog DEFAULT_MSG GLOG_LIBRARIES)

if(GLOG_FOUND)
message(STATUS "glog library found at ${GLOG_LIBRARIES}")
Expand Down
Loading