diff options
author | luigi1111 <luigi1111w@gmail.com> | 2020-12-19 17:18:53 -0600 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2020-12-19 17:18:53 -0600 |
commit | b8e4b69915f8afa77cc4511114b89362a796fe41 (patch) | |
tree | 753ebdfbf3ab99cb0119a8353a0733a6f0efb315 | |
parent | Merge pull request #7156 (diff) | |
parent | add -framework AppKit for Apple (diff) | |
download | monero-b8e4b69915f8afa77cc4511114b89362a796fe41.tar.xz |
Merge pull request #7074
9024622 add -framework AppKit for Apple (woodser)
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 8a7b783aa..c6d102ba7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -973,10 +973,12 @@ list(APPEND EXTRA_LIBRARIES ${CMAKE_DL_LIBS}) if (HIDAPI_FOUND OR LibUSB_COMPILE_TEST_PASSED) if (APPLE) if(DEPENDS) - list(APPEND EXTRA_LIBRARIES "-framework Foundation -framework IOKit") + list(APPEND EXTRA_LIBRARIES "-framework Foundation -framework AppKit -framework IOKit") else() find_library(COREFOUNDATION CoreFoundation) + find_library(APPKIT AppKit) find_library(IOKIT IOKit) + list(APPEND EXTRA_LIBRARIES ${APPKIT}) list(APPEND EXTRA_LIBRARIES ${IOKIT}) list(APPEND EXTRA_LIBRARIES ${COREFOUNDATION}) endif() |