Merge pull request #7253 from briankendall/fix_objc_errors

Fixed mac specific compiler errors and cleaned up Objective C code. Closes #7252
This commit is contained in:
sledgehammer999
2017-08-15 21:06:09 +03:00
committed by GitHub
8 changed files with 142 additions and 54 deletions

View File

@@ -141,5 +141,6 @@ endif ()
if (APPLE)
find_library(IOKit_LIBRARY IOKit)
find_library(Carbon_LIBRARY Carbon)
target_link_libraries(qbt_base PRIVATE ${Carbon_LIBRARY} ${IOKit_LIBRARY})
find_library(AppKit_LIBRARY AppKit)
target_link_libraries(qbt_base PRIVATE ${Carbon_LIBRARY} ${IOKit_LIBRARY} ${AppKit_LIBRARY})
endif (APPLE)