Skip to content
Snippets Groups Projects
Commit 45e77e77 authored by Dhanannjay Deo's avatar Dhanannjay Deo
Browse files

Correctly extend std_cmake_args

parent 1785de0f
No related branches found
No related tags found
No related merge requests found
...@@ -18,13 +18,12 @@ def install(self, spec, prefix): ...@@ -18,13 +18,12 @@ def install(self, spec, prefix):
with working_dir('spack-build', create=True): with working_dir('spack-build', create=True):
feature_args = std_cmake_args[:] feature_args = std_cmake_args[:]
feature_args = ["-DVTK_MAJOR_VERSION=6", feature_args.extend(["-DVTK_MAJOR_VERSION=6",
"-DVTK_MINOR_VERSION=1", "-DVTK_MINOR_VERSION=1",
"-DCMAKE_INSTALL_PREFIX:PATH=%s" % spec.prefix, "-DVISIT_LOC_QMAKE_EXE:FILEPATH=%s/qmake-qt4" % spec['qt'].prefix.bin,
"-DVISIT_LOC_QMAKE_EXE:FILEPATH=%s/qmake-qt4" % spec['qt'].prefix.bin, "-DPYTHON_EXECUTABLE:FILEPATH=%s/python" % spec['python'].prefix.bin,
"-DPYTHON_EXECUTABLE:FILEPATH=%s/python" % spec['python'].prefix.bin, "-DVISIT_SILO_DIR:PATH=%s" % spec['silo'].prefix,
"-DVISIT_SILO_DIR:PATH=%s" % spec['silo'].prefix, "-DVISIT_HDF5_DIR:PATH=%s" % spec['hdf5'].prefix])
"-DVISIT_HDF5_DIR:PATH=%s" % spec['hdf5'].prefix]
cmake('../src', *feature_args) cmake('../src', *feature_args)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment