Skip to content

Commit

Permalink
add grub2 submodule
Browse files Browse the repository at this point in the history
Signed-off-by: Zone.N <[email protected]>
  • Loading branch information
MRNIU committed Dec 4, 2024
1 parent 5a6f575 commit e4e534b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@
[submodule "3rd/googletest"]
path = 3rd/googletest
url = https://github.com/google/googletest.git
[submodule "3rd/grub2"]
path = 3rd/grub2
url = https://git.savannah.gnu.org/git/grub.git
1 change: 1 addition & 0 deletions 3rd/grub2
Submodule grub2 added at 6811f6
6 changes: 6 additions & 0 deletions cmake/3rd.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ if (NOT TARGET gtest)
include(GoogleTest)
endif ()

# https://git.savannah.gnu.org/git/grub.git
set(grub2_SOURCE_DIR ${CMAKE_SOURCE_DIR}/3rd/grub2)
target_include_directories(grub2 INTERFACE
${grub2_SOURCE_DIR}/include
)

# https://github.com/gdbinit/Gdbinit.git
set(gdbinit_SOURCE_DIR ${CMAKE_SOURCE_DIR}/3rd/gdbinit)
set(gdbinit_BINARY_DIR ${CMAKE_BINARY_DIR}/3rd/gdbinit)
Expand Down

0 comments on commit e4e534b

Please sign in to comment.