Skip to content

Commit 7d1547f

Browse files
authored
[merge] Merge pull request #480 from inexorgame/iceflower/fox
[dep] Update dependencies
2 parents 22c0cac + f263632 commit 7d1547f

File tree

2 files changed

+12
-15
lines changed

2 files changed

+12
-15
lines changed

cmake/conan_setup.cmake

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,17 @@ list(APPEND CMAKE_PREFIX_PATH ${CMAKE_BINARY_DIR})
1818

1919
if(NOT EXISTS "${CMAKE_BINARY_DIR}/conan.cmake")
2020
message(STATUS "Downloading conan.cmake from https://github.com/conan-io/cmake-conan")
21-
file(DOWNLOAD "https://raw.githubusercontent.com/conan-io/cmake-conan/1ed947da9c0207b070c7967af1c60da636039c33/conan.cmake"
21+
file(DOWNLOAD "https://raw.githubusercontent.com/conan-io/cmake-conan/4b01ffd8c058f5784ebf39b9bebab3961be52888/conan.cmake"
2222
"${CMAKE_BINARY_DIR}/conan.cmake"
23-
EXPECTED_HASH SHA256=8e1ae613d112105fcb43f2837fe81d6d08b4619237a8035731afebbea9646e32
23+
EXPECTED_HASH SHA256=B48262E9B603378E16E1056E786BF389EB7F2FE2267DACBB41C5A9E33A07E0F1
2424
TLS_VERIFY ON)
2525
endif()
2626

2727
include(conan)
2828

29-
conan_check(VERSION 1.35.2 REQUIRED)
29+
conan_check(VERSION 1.51.0 REQUIRED)
3030

31-
# TODO: cmake-conan v0.17.0 can automatically set the compiler.cppstd propety based on CMAKE_CXX_STANDARD.
32-
# We could set this variable globally but it goes against current conventions where the CXX standard is set per target.
31+
# We could set this variable globally but it goes against current conventions where the CXX standard is set per target.
3332
get_property(is_multi_config GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG)
3433
# if a specific build type is set ignore the multi config generator
3534
if(${is_multi_config} AND NOT DEFINED CMAKE_BUILD_TYPE)
@@ -44,7 +43,6 @@ if(${is_multi_config} AND NOT DEFINED CMAKE_BUILD_TYPE)
4443
OPTIONS build_benchmarks=${benchmark_option}
4544
OPTIONS build_tests=${tests_option}
4645
SETTINGS ${conan_settings}
47-
SETTINGS compiler.cppstd=20
4846
${compiler_libcxx}
4947
)
5048
endforeach()
@@ -59,7 +57,6 @@ else()
5957
OPTIONS build_benchmarks=${benchmark_option}
6058
OPTIONS build_tests=${tests_option}
6159
SETTINGS ${conan_settings}
62-
SETTINGS compiler.cppstd=20
6360
${compiler_libcxx}
6461
)
6562
include(conanbuildinfo)

conanfile.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ class InexorConan(ConanFile):
1010
)
1111

1212
requires = (
13-
"glfw/3.3.2",
13+
"glfw/3.3.7",
1414
"glm/0.9.9.8",
15-
"imgui/1.77",
16-
"spdlog/1.7.0",
17-
"stb/20200203",
18-
"tinygltf/2.2.0",
19-
"toml11/3.4.0",
15+
"imgui/1.88",
16+
"spdlog/1.10.0",
17+
"stb/cci.20210910",
18+
"tinygltf/2.5.0",
19+
"toml11/3.7.1",
2020
"vulkan-memory-allocator/2.3.0",
2121
)
2222

@@ -39,9 +39,9 @@ def configure(self):
3939

4040
def requirements(self):
4141
if self.options.build_benchmarks:
42-
self.requires("benchmark/1.5.2")
42+
self.requires("benchmark/1.6.2")
4343
if self.options.build_tests:
44-
self.requires("gtest/1.10.0")
44+
self.requires("gtest/1.12.1")
4545

4646
def imports(self):
4747
# Copies all dll files from packages bin folder to my "bin" folder (win)

0 commit comments

Comments
 (0)