From Mathieu Marache, "This modified version of FindCOLLADA finds it correctly when installed with macports

as in 'port install collada-dom'"
This commit is contained in:
Robert Osfield 2010-09-17 15:41:55 +00:00
parent fc82c9cde8
commit c7fc64c2e8

View File

@ -41,6 +41,7 @@ FIND_PATH(COLLADA_INCLUDE_DIR dae.h
$ENV{COLLADA_DIR} $ENV{COLLADA_DIR}
~/Library/Frameworks ~/Library/Frameworks
/Library/Frameworks /Library/Frameworks
/opt/local/Library/Frameworks #macports
/usr/local/include /usr/local/include
/usr/local/include/colladadom /usr/local/include/colladadom
/usr/include/ /usr/include/
@ -63,6 +64,7 @@ FIND_LIBRARY(COLLADA_DYNAMIC_LIBRARY
$ENV{COLLADA_DIR} $ENV{COLLADA_DIR}
~/Library/Frameworks ~/Library/Frameworks
/Library/Frameworks /Library/Frameworks
/opt/local/Library/Frameworks #macports
/usr/local/lib /usr/local/lib
/usr/local/lib64 /usr/local/lib64
/usr/lib /usr/lib
@ -85,6 +87,7 @@ FIND_LIBRARY(COLLADA_DYNAMIC_LIBRARY_DEBUG
$ENV{COLLADA_DIR} $ENV{COLLADA_DIR}
~/Library/Frameworks ~/Library/Frameworks
/Library/Frameworks /Library/Frameworks
/opt/local/Library/Frameworks #macports
/usr/local/lib /usr/local/lib
/usr/local/lib64 /usr/local/lib64
/usr/lib /usr/lib
@ -107,6 +110,7 @@ FIND_LIBRARY(COLLADA_STATIC_LIBRARY
$ENV{COLLADA_DIR} $ENV{COLLADA_DIR}
~/Library/Frameworks ~/Library/Frameworks
/Library/Frameworks /Library/Frameworks
/opt/local/Library/Frameworks #macports
/usr/local/lib /usr/local/lib
/usr/local/lib64 /usr/local/lib64
/usr/lib /usr/lib
@ -129,6 +133,7 @@ FIND_LIBRARY(COLLADA_STATIC_LIBRARY_DEBUG
$ENV{COLLADA_DIR} $ENV{COLLADA_DIR}
~/Library/Frameworks ~/Library/Frameworks
/Library/Frameworks /Library/Frameworks
/opt/local/Library/Frameworks #macports
/usr/local/lib /usr/local/lib
/usr/local/lib64 /usr/local/lib64
/usr/lib /usr/lib