From c7fc64c2e886eed2a0ab2d278da84ea8b5bd51fb Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 17 Sep 2010 15:41:55 +0000 Subject: [PATCH] From Mathieu Marache, "This modified version of FindCOLLADA finds it correctly when installed with macports as in 'port install collada-dom'" --- CMakeModules/FindCOLLADA.cmake | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/CMakeModules/FindCOLLADA.cmake b/CMakeModules/FindCOLLADA.cmake index 01e7f3f99..557c0c43b 100644 --- a/CMakeModules/FindCOLLADA.cmake +++ b/CMakeModules/FindCOLLADA.cmake @@ -41,6 +41,7 @@ FIND_PATH(COLLADA_INCLUDE_DIR dae.h $ENV{COLLADA_DIR} ~/Library/Frameworks /Library/Frameworks + /opt/local/Library/Frameworks #macports /usr/local/include /usr/local/include/colladadom /usr/include/ @@ -62,7 +63,8 @@ FIND_LIBRARY(COLLADA_DYNAMIC_LIBRARY $ENV{COLLADA_DIR}/lib-dbg $ENV{COLLADA_DIR} ~/Library/Frameworks - /Library/Frameworks + /Library/Frameworks + /opt/local/Library/Frameworks #macports /usr/local/lib /usr/local/lib64 /usr/lib @@ -85,6 +87,7 @@ FIND_LIBRARY(COLLADA_DYNAMIC_LIBRARY_DEBUG $ENV{COLLADA_DIR} ~/Library/Frameworks /Library/Frameworks + /opt/local/Library/Frameworks #macports /usr/local/lib /usr/local/lib64 /usr/lib @@ -107,6 +110,7 @@ FIND_LIBRARY(COLLADA_STATIC_LIBRARY $ENV{COLLADA_DIR} ~/Library/Frameworks /Library/Frameworks + /opt/local/Library/Frameworks #macports /usr/local/lib /usr/local/lib64 /usr/lib @@ -129,6 +133,7 @@ FIND_LIBRARY(COLLADA_STATIC_LIBRARY_DEBUG $ENV{COLLADA_DIR} ~/Library/Frameworks /Library/Frameworks + /opt/local/Library/Frameworks #macports /usr/local/lib /usr/local/lib64 /usr/lib