Ticket #32302: patch-CMake_Packages_FindOIS.cmake.diff
File patch-CMake_Packages_FindOIS.cmake.diff, 528 bytes (added by marin.saric@…, 13 years ago) |
---|
-
CMake/Packages/FindOIS.cmake
old new 80 80 81 81 findpkg_finish(OIS) 82 82 83 if (APPLE) 84 # The MacOS X version of OIS depends on IOKit, Carbon and Cocoa 85 list(APPEND OIS_LIBRARIES 86 "-framework IOKit" # CMake prepends -l if quotes are not present 87 "-framework Carbon" 88 "-framework Cocoa") 89 endif() 90 83 91 # add parent of OIS folder to support OIS/OIS.h 84 92 add_parent_dir(OIS_INCLUDE_DIRS OIS_INCLUDE_DIR) 85 93