Use OBJECT_DEPENDS to set dependencies.
Merge pull request #9 from smspillaz/cpp-subprocess.item_10

Use OBJECT_DEPENDS to set dependencies.