diff --git a/SerialPrograms/CMakeLists.txt b/SerialPrograms/CMakeLists.txt index 0b4737be5..7a3a7e660 100644 --- a/SerialPrograms/CMakeLists.txt +++ b/SerialPrograms/CMakeLists.txt @@ -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()