diff options
| author | woodser <woodser@protonmail.com> | 2020-12-04 11:48:41 -0500 |
|---|---|---|
| committer | woodser <woodser@protonmail.com> | 2020-12-04 11:48:41 -0500 |
| commit | 90246223c9dd2d729ae92c91d17d7b208c74d530 (patch) | |
| tree | c2d2b899404c4db0cb31ba05f4cebe1c020c47c6 /CMakeLists.txt | |
| parent | f83203ecefabb06c939aec99b6c15a31a96d32a7 (diff) | |
| download | monzero-core-90246223c9dd2d729ae92c91d17d7b208c74d530.tar.gz monzero-core-90246223c9dd2d729ae92c91d17d7b208c74d530.tar.xz monzero-core-90246223c9dd2d729ae92c91d17d7b208c74d530.zip | |
add -framework AppKit for Apple
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 050269218..9963b4eb6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -952,10 +952,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() |
