cmake: setup CMAKE_FRAMEWORK_PATH

This tells cmake how to find macOS frameworks.

Fixes #26197
This commit is contained in:
Matthew Bauer 2017-10-21 02:27:09 -05:00
parent 1d317bd84a
commit 24eb665695
1 changed files with 3 additions and 0 deletions

View File

@ -84,6 +84,9 @@ makeCmakeFindLibs(){
-L*) -L*)
export CMAKE_LIBRARY_PATH="$CMAKE_LIBRARY_PATH${CMAKE_LIBRARY_PATH:+:}${flag:2}" export CMAKE_LIBRARY_PATH="$CMAKE_LIBRARY_PATH${CMAKE_LIBRARY_PATH:+:}${flag:2}"
;; ;;
-F*)
export CMAKE_FRAMEWORK_PATH="$CMAKE_FRAMEWORK_PATH${CMAKE_FRAMEWORK_PATH:+:}${flag:2}"
;;
-isystem) -isystem)
isystem_seen=1 isystem_seen=1
;; ;;