Change path to CMakeLists.txt to be relative to root, not pwd (#4420)

* Change path to CMakeLists.txt to be relative to root, not pwd

* Changes requested during code review

* Revert back to old naming of root_cmakelists_dir
* Make relative directory more clear in docs

* Revert change causing build_type AttributeError

* Fix forgotten abs_path var

* Update CLHEP with new relative path

* Update more packages with new root_cmakelists_dir syntax
This commit is contained in:
Adam J. Stewart
2017-07-18 11:58:19 -05:00
committed by becker33
parent 5a1ee22575
commit 1215c3b20c
9 changed files with 20 additions and 23 deletions

View File

@@ -63,7 +63,7 @@ def patch(self):
'%s/%s/CLHEP/CMakeLists.txt'
% (self.stage.path, self.spec.version))
root_cmakelists_dir = '../CLHEP'
root_cmakelists_dir = 'CLHEP'
def build_type(self):
spec = self.spec