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 | eee0452aa80db9a6f3b319c0fdaab36c3ff7be8a (diff) | |
| parent | 90246223c9dd2d729ae92c91d17d7b208c74d530 (diff) | |
| download | monzero-core-b8e4b69915f8afa77cc4511114b89362a796fe41.tar.gz monzero-core-b8e4b69915f8afa77cc4511114b89362a796fe41.tar.xz monzero-core-b8e4b69915f8afa77cc4511114b89362a796fe41.zip | |
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() |
