Skip to content

Commit 8000996

Browse files
committed
Add forgotten libgeom introduced in FreeBSD14
1 parent 1dac9ef commit 8000996

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,9 @@ elseif(WIN32)
4343
# TODO: Add include and lib from Windows API
4444
else()
4545
if(${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
46-
# Link with FreeBSD system-level libefivar
47-
target_link_libraries(QEFI PUBLIC efivar)
46+
# Link with FreeBSD system-level libefivar and geom
47+
# see source code of usr.sbin/efibootmgr/Makefile and usr.sbin/efivar/Makefile
48+
target_link_libraries(QEFI PUBLIC efivar geom)
4849
endif()
4950
message("Use qefivar implementations for EFI operations")
5051
endif()

0 commit comments

Comments
 (0)