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

@@ -55,7 +55,7 @@ class Quinoa(CMakePackage):
depends_on("pstreams")
depends_on("pegtl")
root_cmakelists_dir = '../src'
root_cmakelists_dir = 'src'
def build_type(self):
spec = self.spec