Changeset 10637

Show
Ignore:
Timestamp:
10/10/09 13:26:10 (5 years ago)
Author:
robert
Message:

From Simon Julier, "Please find attached FindCOLLADA.cmake with a patch for a framework naming issue for Mac platforms.

The collada dom Makefiles actually build a framework called Collada14Dom.framework (debug: Collada14Dom-d.framework). The current CMake rules, however, only look for collada14dom. Normally, the difference in case wouldn't matter but the rule fails on case sensitive HPFS partitions.
"

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/CMakeModules/FindCOLLADA.cmake

    r10626 r10637  
    4545 
    4646FIND_LIBRARY(COLLADA_DYNAMIC_LIBRARY  
    47     NAMES collada_dom collada14dom libcollada14dom21 libcollada14dom22 
     47    NAMES collada_dom collada14dom Collada14Dom libcollada14dom21 libcollada14dom22 
    4848    PATHS 
    4949    ${COLLADA_DOM_ROOT}/build/${COLLADA_BUILDNAME}-1.4 
     
    6666 
    6767FIND_LIBRARY(COLLADA_DYNAMIC_LIBRARY_DEBUG  
    68     NAMES collada_dom-d collada14dom-d libcollada14dom21-d libcollada14dom22-d 
     68    NAMES collada_dom-d collada14dom-d Collada14Dom-d libcollada14dom21-d libcollada14dom22-d 
    6969    PATHS 
    7070    ${COLLADA_DOM_ROOT}/build/${COLLADA_BUILDNAME}-1.4-d