Commits

Satish Balay committed be4b098

cmake: remove duplicate definition [in PETSC_ARCH/conf/petscvariables]

  • Participants
  • Parent commits 00d2054

Comments (0)

Files changed (1)

config/PETSc/packages/cmake.py

 
     if (self.framework.argDB['download-cmake']):
       PETSc.package.NewPackage.configure(self)
-    else:
-      self.getExecutable(self.framework.argDB['with-cmake'], getFullPath = 1,resultName='cmake')
-      if hasattr(self, 'cmake'):
-        self.addMakeMacro('CMAKE ', self.cmake)
-        self.found = 1
+    elif self.getExecutable(self.framework.argDB['with-cmake'], getFullPath = 1,resultName='cmake'):
+      self.found = 1
     return