mirror of
https://github.com/mikage-emu/mikage-dev.git
synced 2025-01-04 20:40:58 +01:00
CMake: Bundle Teakra via FetchContent
This commit is contained in:
parent
bdbbfb21f7
commit
dd160374ea
3 changed files with 5 additions and 6 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -1,3 +0,0 @@
|
|||
[submodule "externals/teakra"]
|
||||
path = externals/teakra
|
||||
url = https://github.com/mikage-emu/teakra.git
|
|
@ -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
externals/teakra
vendored
|
@ -1 +0,0 @@
|
|||
Subproject commit 019d18c7ee137899030b378feca038cd7789a1b7
|
Loading…
Reference in a new issue