Skip to content
Snippets Groups Projects
Commit 7e9951c2 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Linux needs libutil for forkpty() too.

Except when it doesn't... it's harmless to link with it then though.
parent 721201c0
Branches
Tags
No related merge requests found
Pipeline #6782 passed
......@@ -132,6 +132,8 @@ elseif(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
elseif(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
target_link_libraries(syncterm util)
target_link_libraries(syncterm ${FOUNDATION_LIBRARY})
elseif(CMAKE_SYSTEM_NAME STREQUAL "Linux")
target_link_libraries(syncterm util)
endif()
install(TARGETS syncterm DESTINATION bin)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment