rpavlik / cmake-modules

My collection of CMake modules
http://academic.cleardefinition.com
Boost Software License 1.0
1.02k stars 213 forks source link

Use CMAKE_CURRENT_SOURCE_DIR consistently #40

Closed Meinersbur closed 9 years ago

Meinersbur commented 9 years ago

get_git_head_revision uses CMAKE_CURRENT_SOURCE_DIR as starting point, so should git when invoking it

Meinersbur commented 9 years ago

It would be nice to make GIT_PARENT_DIR configurable, e.g. by passing it as argument.

Thanks for making this publicly available.

rpavlik commented 9 years ago

Thanks for doing this!

Meinersbur commented 9 years ago

Thank you