Skip to content

Commit

Permalink
Update spdlog to v1.4.2 (#60)
Browse files Browse the repository at this point in the history
* spdlog 1.4.2-p0

* spdlog: SPDLOG_BUILD_EXAMPLE=OFF
  • Loading branch information
rbsheth authored and bkotzz committed Nov 11, 2019
1 parent 5c43456 commit d2fc2d7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/configs/default.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ if(MSVC_VERSION LESS 1800)
# for VS12 - version without support C++11
hunter_default_version(spdlog VERSION 1.0.0-p0)
else()
hunter_default_version(spdlog VERSION 1.3.1-p0)
hunter_default_version(spdlog VERSION 1.4.2-p0)
endif()

hunter_default_version(spirv-cross VERSION 20190906)
Expand Down
13 changes: 13 additions & 0 deletions cmake/projects/spdlog/hunter.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,27 @@ hunter_add_version(
3d0538af5ea93995ff417faa979f309f834fa352
)

hunter_add_version(
PACKAGE_NAME
spdlog
VERSION
"1.4.2-p0"
URL
"https://github.com/hunter-packages/spdlog/archive/v1.4.2-p0.tar.gz"
SHA1
61136ee6120fe069d37df4ad11628a2a0622b447
)

hunter_cmake_args(
spdlog
CMAKE_ARGS
SPDLOG_EXTERNAL_TOOLCHAIN=ON # tell spdlog not to modify cxxflags
SPDLOG_BUILD_EXAMPLES=OFF
SPDLOG_BUILD_EXAMPLE=OFF
SPDLOG_BUILD_TESTING=OFF
SPDLOG_BUILD_TESTS=OFF
SPDLOG_BUILD_BENCH=OFF
SPDLOG_FMT_EXTERNAL=ON
)

hunter_pick_scheme(DEFAULT url_sha1_cmake)
Expand Down

0 comments on commit d2fc2d7

Please sign in to comment.