Skip to content

Commit

Permalink
Merge pull request #30 from ethz-asl/fix/cmake_warnings
Browse files Browse the repository at this point in the history
Fix warnings in Findglog.cmake
  • Loading branch information
4c3y authored Oct 8, 2024
2 parents ab49e0c + 0697574 commit 03c55f6
Showing 1 changed file with 2 additions and 4 deletions.
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

0 comments on commit 03c55f6

Please sign in to comment.