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

@@ -31,10 +31,6 @@ class Isaac(CMakePackage):
homepage = "http://computationalradiationphysics.github.io/isaac/"
url = "https://github.com/ComputationalRadiationPhysics/isaac/archive/v1.3.0.tar.gz"
@property
def root_cmakelists_dir(self):
return join_path(self.stage.source_path, 'lib')
version('develop', branch='dev',
git='https://github.com/ComputationalRadiationPhysics/isaac.git')
version('master', branch='master',
@@ -55,3 +51,5 @@ def root_cmakelists_dir(self):
# depends_on('alpaka', when='+alpaka')
depends_on('icet', type='link')
depends_on('mpi', type='link')
root_cmakelists_dir = 'lib'