Closes https://github.com/assimp/assimp/issues/84: add another search path
for XCode framework paths for IPhones.pull/756/head
parent
18c0e41d8f
commit
8f70830103
|
@ -85,7 +85,7 @@ macro(get_debug_names PREFIX)
|
||||||
endforeach(i)
|
endforeach(i)
|
||||||
endmacro(get_debug_names)
|
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)
|
macro(add_parent_dir VAR DIR)
|
||||||
get_filename_component(${DIR}_TEMP "${${DIR}}/.." ABSOLUTE)
|
get_filename_component(${DIR}_TEMP "${${DIR}}/.." ABSOLUTE)
|
||||||
set(${VAR} ${${VAR}} ${${DIR}_TEMP})
|
set(${VAR} ${${VAR}} ${${DIR}_TEMP})
|
||||||
|
@ -127,6 +127,7 @@ MACRO(findpkg_framework fwk)
|
||||||
/System/Library/Frameworks
|
/System/Library/Frameworks
|
||||||
/Network/Library/Frameworks
|
/Network/Library/Frameworks
|
||||||
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/System/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})
|
FOREACH(dir ${${fwk}_FRAMEWORK_PATH})
|
||||||
SET(fwkpath ${dir}/${fwk}.framework)
|
SET(fwkpath ${dir}/${fwk}.framework)
|
||||||
|
|
Loading…
Reference in New Issue