Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ add_library(LanceC_platform_deps INTERFACE)
if(APPLE)
target_link_libraries(LanceC_platform_deps INTERFACE
"-framework CoreFoundation"
"-framework IOKit"
"-framework Security"
"-framework SystemConfiguration")
elseif(CMAKE_SYSTEM_NAME STREQUAL "Linux")
Expand Down Expand Up @@ -146,7 +147,7 @@ install(FILES
# ─── pkg-config ──────────────────────────────────────────────────────────────
if(APPLE)
set(LANCE_C_PC_LIBS_PRIVATE
"-framework CoreFoundation -framework Security -framework SystemConfiguration")
"-framework CoreFoundation -framework IOKit -framework Security -framework SystemConfiguration")
elseif(CMAKE_SYSTEM_NAME STREQUAL "Linux")
set(LANCE_C_PC_LIBS_PRIVATE "-lpthread -ldl -lm")
else()
Expand Down
1 change: 1 addition & 0 deletions cmake/LanceCConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ set(_lance_c_platform_deps "")
if(APPLE)
list(APPEND _lance_c_platform_deps
"-framework CoreFoundation"
"-framework IOKit"
"-framework Security"
"-framework SystemConfiguration")
elseif(CMAKE_SYSTEM_NAME STREQUAL "Linux")
Expand Down
Loading