From 8f708301037b83cb97ba40a89f5c45d8611f9d4c Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Wed, 13 Jan 2016 18:55:47 +0100 Subject: [PATCH] Closes https://github.com/assimp/assimp/issues/84: add another search path for XCode framework paths for IPhones. --- cmake-modules/FindPkgMacros.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmake-modules/FindPkgMacros.cmake b/cmake-modules/FindPkgMacros.cmake index facd5946b..e67d8dc62 100644 --- a/cmake-modules/FindPkgMacros.cmake +++ b/cmake-modules/FindPkgMacros.cmake @@ -85,7 +85,7 @@ macro(get_debug_names PREFIX) endforeach(i) endmacro(get_debug_names) -# Add the parent dir from DIR to VAR +# Add the parent dir from DIR to VAR macro(add_parent_dir VAR DIR) get_filename_component(${DIR}_TEMP "${${DIR}}/.." ABSOLUTE) set(${VAR} ${${VAR}} ${${DIR}_TEMP}) @@ -127,6 +127,7 @@ MACRO(findpkg_framework fwk) /System/Library/Frameworks /Network/Library/Frameworks /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/System/Library/Frameworks/ + /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/System/Library/Frameworks/ ) FOREACH(dir ${${fwk}_FRAMEWORK_PATH}) SET(fwkpath ${dir}/${fwk}.framework)