Skip to content

Commit

Permalink
Link geom for FreeBSD build
Browse files Browse the repository at this point in the history
  • Loading branch information
Inokinoki committed Nov 10, 2024
1 parent 3bc7fc5 commit 32cd764
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,12 @@ if(USE_EFIVAR_OLD_API)
add_definitions(-DEFIVAR_OLD_API)
endif()

if(PATCH_FREEBSD_EFIVAR)
# Patch efivar 0.15 build for FreeBSD
# TODO(Inoki): check 0.15 build for FreeBSD
target_link_libraries(QEFI PRIVATE geom)
endif()

install(
TARGETS QEFI
EXPORT QEFITargets
Expand Down

0 comments on commit 32cd764

Please sign in to comment.