mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Install corrosion as submodule. (#3348)
This will enable nixpkgs -- and any other distribution that builds in a network sandbox and/or wants to use their own corrosion package rather than building another one -- to do so without patching taskwarrior. Since we're already using submodules for libshared I don't think this should make the build process any more complicated for anyone else. See https://github.com/NixOS/nixpkgs/issues/300679#issuecomment-2041252688 for context.
This commit is contained in:
parent
b5aa7c6ae2
commit
fd306712b8
3 changed files with 5 additions and 6 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -1,3 +1,6 @@
|
||||||
[submodule "src/libshared"]
|
[submodule "src/libshared"]
|
||||||
path = src/libshared
|
path = src/libshared
|
||||||
url = https://github.com/GothenburgBitFactory/libshared.git
|
url = https://github.com/GothenburgBitFactory/libshared.git
|
||||||
|
[submodule "src/tc/corrosion"]
|
||||||
|
path = src/tc/corrosion
|
||||||
|
url = https://github.com/corrosion-rs/corrosion.git
|
||||||
|
|
|
@ -1,11 +1,6 @@
|
||||||
cmake_minimum_required (VERSION 3.22)
|
cmake_minimum_required (VERSION 3.22)
|
||||||
|
|
||||||
FetchContent_Declare (
|
add_subdirectory(${CMAKE_SOURCE_DIR}/src/tc/corrosion)
|
||||||
Corrosion
|
|
||||||
GIT_REPOSITORY https://github.com/corrosion-rs/corrosion.git
|
|
||||||
GIT_TAG v0.4.7
|
|
||||||
)
|
|
||||||
FetchContent_MakeAvailable(Corrosion)
|
|
||||||
|
|
||||||
# Import taskchampion-lib as a CMake library.
|
# Import taskchampion-lib as a CMake library.
|
||||||
corrosion_import_crate(
|
corrosion_import_crate(
|
||||||
|
|
1
src/tc/corrosion
Submodule
1
src/tc/corrosion
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 8ddd6d56ca597cb855f532e9ba4c7bc1cbe0803b
|
Loading…
Add table
Add a link
Reference in a new issue