Skip to content

Commit

Permalink
Correct ON vs OFF handling
Browse files Browse the repository at this point in the history
Needed parenthesis to pass the full option AND value, instead of
switching the option with the value.

Signed-off-by: Samuel E. Browne <[email protected]>
  • Loading branch information
sebrowne committed Oct 15, 2024
1 parent 585f687 commit b2a7764
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def execute_test(self):
f"-Dpackage_enables:FILEPATH={self.arg_filename_packageenables}",
f"-Dsubprojects_file:FILEPATH={self.arg_filename_subprojects}",
f"-DCTEST_DROP_SITE:STRING={self.arg_ctest_drop_site}",
"-DUSE_EXPLICIT_TRILINOS_CACHEFILE:BOOL=" + "ON" if self.arg_use_explicit_cachefile else "OFF",
"-DUSE_EXPLICIT_TRILINOS_CACHEFILE:BOOL=" + ("ON" if self.arg_use_explicit_cachefile else "OFF"),
]

if self.arg_extra_configure_args:
Expand Down

0 comments on commit b2a7764

Please sign in to comment.