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

glog: add version 0.6.0 and disable new dependencies #719

Merged
merged 1 commit into from
Oct 30, 2023
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion cmake/configs/default.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ hunter_default_version(glfw VERSION 3.3.4-p0)
hunter_default_version(glib VERSION 2.54.0)
hunter_default_version(glm VERSION 0.9.9.8)
hunter_default_version(globjects VERSION 1.1.0-p0)
hunter_default_version(glog VERSION 0.5.0)
hunter_default_version(glog VERSION 0.6.0)
hunter_default_version(glproto VERSION 1.4.17)
hunter_default_version(glslang VERSION 8.13.3743-9eef54b2-p0)
hunter_default_version(glu VERSION 9.0.1-p1)
Expand Down
18 changes: 17 additions & 1 deletion cmake/projects/glog/hunter.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,24 @@ hunter_add_version(
d4c64e1b2de9cfc52970532b301106ed94e94991
)

hunter_add_version(
PACKAGE_NAME
glog
VERSION
"0.6.0"
URL
"https://github.com/google/glog/archive/refs/tags/v0.6.0.tar.gz"
SHA1
31376c7916aee2fc6375994468744123ad6179b9
)

# explicitly remove dependency on gflags (only needed for tests)
hunter_cmake_args(glog CMAKE_ARGS WITH_GFLAGS=OFF BUILD_TESTING=OFF)
hunter_cmake_args(glog CMAKE_ARGS
WITH_GFLAGS=OFF
WITH_UNWIND=OFF # since 0.5.0
WITH_GTEST=OFF # since 0.6.0
BUILD_TESTING=OFF
)

hunter_pick_scheme(DEFAULT url_sha1_cmake)
hunter_cacheable(glog)
Expand Down
Loading