From caa44ef285705ba90962c02b890ce65c2b187a57 Mon Sep 17 00:00:00 2001 From: Gin <> Date: Thu, 21 Sep 2023 20:50:03 -0700 Subject: [PATCH] continue fixing macOS build --- SerialPrograms/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()