Skip to content

Commit

Permalink
Patch from Constantine: --no-print-directory
Browse files Browse the repository at this point in the history
  • Loading branch information
jedbrown committed Nov 1, 2010
1 parent b67bc50 commit f103d9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FindPETSc.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ show :

macro (PETSC_GET_VARIABLE name var)
set (${var} "NOTFOUND" CACHE INTERNAL "Cleared" FORCE)
execute_process (COMMAND ${CMAKE_MAKE_PROGRAM} -f ${petsc_config_makefile} show VARIABLE=${name}
execute_process (COMMAND ${CMAKE_MAKE_PROGRAM} --no-print-directory -f ${petsc_config_makefile} show VARIABLE=${name}
OUTPUT_VARIABLE ${var}
RESULT_VARIABLE petsc_return)
endmacro (PETSC_GET_VARIABLE)
Expand Down

0 comments on commit f103d9f

Please sign in to comment.