Skip to content

Commit

Permalink
continue fixing macOS build
Browse files Browse the repository at this point in the history
  • Loading branch information
Gin committed Sep 22, 2023
1 parent 11bbda3 commit caa44ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SerialPrograms/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2021,7 +2021,7 @@ else()
if (WIN32)
elseif (APPLE)
# on macOS, need this framework to query OS API to control display sleep and system sleep behavior
target_link_libraries(SerialPrograms "-framework IOKit")
target_link_libraries(SerialPrograms "-framework IOKit -framework CoreFoundation")
elseif(UNIX)
endif()

Expand Down

0 comments on commit caa44ef

Please sign in to comment.