KhronosGroup/OpenCOLLADA — pull request #124 by suokko (2012-10-18 21:38:26+00:00)
Title: Shared library build fix

Building shared librariries failed for two reasons for me.

1. Build was trying to use position depend objects for shared library that failed during linking.

Fix is simple adition of -fPIC to the compiler lines.

2. CMake wasn't adding dependencies between shared libraries that required linking

The fix simple adds the _shared prefix to the library name when depending to an internal library. That allows cmake to track dependencies correctly allowing parallel builds to success.