vtkm: fix the directory cmake looks for the source code (#11576)
Previously, the vtkm package was adding a "../" option to the cmake command line. I suppose this was supposed to be pointing to the source code, but did not. Rather, Spack correctly adds the source directory as the first argument to cmake. However, because ../ was added, it used that as the source directory instead. Simply remove this argument to make CMake work correctly.
This commit is contained in:
parent
643e7806e0
commit
a7ffccfc97
1 changed files with 1 additions and 2 deletions
|
@ -50,8 +50,7 @@ def cmake_args(self):
|
|||
spec = self.spec
|
||||
options = []
|
||||
with working_dir('spack-build', create=True):
|
||||
options = ["../",
|
||||
"-DVTKm_ENABLE_TESTING:BOOL=OFF"]
|
||||
options = ["-DVTKm_ENABLE_TESTING:BOOL=OFF"]
|
||||
# shared vs static libs
|
||||
if "+shared" in spec:
|
||||
options.append('-DBUILD_SHARED_LIBS=ON')
|
||||
|
|
Loading…
Reference in a new issue