CMake: Bundle Teakra via FetchContent

This commit is contained in:
Tony Wasserka 2024-09-12 19:25:33 +02:00
parent bdbbfb21f7
commit dd160374ea
3 changed files with 5 additions and 6 deletions

3
.gitmodules vendored
View file

@ -1,3 +0,0 @@
[submodule "externals/teakra"]
path = externals/teakra
url = https://github.com/mikage-emu/teakra.git

View file

@ -85,8 +85,11 @@ if(NOT ANDROID)
endif()
endif ()
# TODO: find_package-ify
add_subdirectory(externals/teakra)
include(FetchContent)
FetchContent_Declare(teakra
GIT_REPOSITORY https://github.com/mikage-emu/teakra.git
GIT_TAG f99ce8b0c0400b6e20a566ca0a3483ffb4b4e95c)
FetchContent_MakeAvailable(teakra)
set_target_properties(teakra_c PROPERTIES EXCLUDE_FROM_ALL 1)
add_subdirectory(source)

1
externals/teakra vendored

@ -1 +0,0 @@
Subproject commit 019d18c7ee137899030b378feca038cd7789a1b7