billyquith / ponder

C++ reflection library with Lua binding, and JSON and XML serialisation.
http://billyquith.github.io/ponder/
Other
640 stars 93 forks source link

Allow Ponder to be used as a subproject with add_subdirectory() #48

Closed ghost closed 8 years ago

ghost commented 8 years ago

Ponder currently fails when used as a subproject, as it does not fully use a relative source directory. It looks like work was started on this, via the PONDER_SOURCE_DIR variable, but this variable was not used consistently nor set to the correct value by default.

This PR expands usage of PONDER_SOURCE_DIR, allowing usage of Ponder as a subproject.

billyquith commented 8 years ago

Ok, passed tests. Thanks.