Skip to content

Commit 5fba7f2

Browse files
committed
Update dependencies for CMake 4.0+.
CMake 4.0 and higher drop support for anything asking for `cmake_minimum_required(VERSION 3.4)` or lower. That is a huge breaking change, but there's nothing for it.
1 parent 7aeb610 commit 5fba7f2

File tree

1 file changed

+5
-13
lines changed

1 file changed

+5
-13
lines changed

cmake/Dependencies.cmake

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -202,35 +202,27 @@ endif()
202202

203203
if(korman_BUILD_OGGVORBIS)
204204
korman_add_external_project(libogg
205-
GIT_REPOSITORY "https://github.com/xiph/ogg.git"
206-
GIT_TAG v1.3.5
205+
GIT_REPOSITORY "https://gitlab.xiph.org/xiph/ogg.git"
206+
GIT_TAG v1.3.6
207207
CMAKE_CACHE_ARGS
208208
-DBUILD_SHARED_LIBS:BOOL=OFF
209209
-DBUILD_TESTING:BOOL=OFF
210210
-DINSTALL_DOCS:BOOL=OFF
211211
)
212212
korman_add_external_project(libvorbis
213-
GIT_REPOSITORY "https://github.com/xiph/vorbis.git"
214-
GIT_TAG v1.3.7
213+
GIT_REPOSITORY "https://gitlab.xiph.org/xiph/vorbis.git"
214+
GIT_TAG 43bbff0141028e58d476c1d5fd45dd5573db576d # No official release in 5 years
215215
CMAKE_CACHE_ARGS
216216
-DBUILD_SHARED_LIBS:BOOL=OFF
217217
)
218218
endif()
219219

220220
if(korman_BUILD_STRING_THEORY)
221-
# Woe betide us if comaptibility breaks...
222-
if(MSVC AND MSVC_VERSION LESS 1900)
223-
set(_string_theory_tag 2.4)
224-
else()
225-
set(_string_theory_tag 3.8)
226-
endif()
227-
228221
korman_add_external_project(string_theory
229222
GIT_REPOSITORY "https://github.com/zrax/string_theory.git"
230-
GIT_TAG ${_string_theory_tag}
223+
GIT_TAG 3.9
231224
CMAKE_CACHE_ARGS
232225
-DST_BUILD_TESTS:BOOL=OFF
233-
-DST_BUILD_STATIC:BOOL=ON # string_theory < 3.0
234226
)
235227
endif()
236228

0 commit comments

Comments
 (0)