inclusion of rules not needed
This commit is contained in:
parent
2648464525
commit
80b6aaec77
|
@ -22,7 +22,6 @@ if (PETSC_DIR STREQUAL "")
|
|||
endif ()
|
||||
|
||||
set (petsc_conf_variables "${PETSC_DIR}/lib/petsc/conf/variables")
|
||||
set (petsc_conf_rules "${PETSC_DIR}/lib/petsc/conf/rules" )
|
||||
|
||||
# Use existing variables from PETSc
|
||||
# https://github.com/jedbrown/cmake-modules/blob/master/FindPETSc.cmake
|
||||
|
@ -36,7 +35,6 @@ file (WRITE
|
|||
"## This file was auto generated by CMake
|
||||
# PETSC_DIR = ${PETSC_DIR}
|
||||
SHELL = /bin/sh
|
||||
include ${petsc_conf_rules}
|
||||
include ${petsc_conf_variables}
|
||||
INCLUDE_DIRS := \${PETSC_FC_INCLUDES}
|
||||
LIBRARIES := \${PETSC_WITH_EXTERNAL_LIB}
|
||||
|
@ -74,9 +72,9 @@ foreach (exlib ${TMP_LIST})
|
|||
set (PETSC_EXTERNAL_LIB "${PETSC_EXTERNAL_LIB} ${exlib}")
|
||||
endforeach (exlib)
|
||||
|
||||
message ("Found PETSC_DIR:\n${PETSC_DIR}\n" )
|
||||
message ("Found PETSC_INCLUDES:\n${PETSC_INCLUDES}\n" )
|
||||
message ("Found PETSC_EXTERNAL_LIB:\n${PETSC_EXTERNAL_LIB}\n")
|
||||
message ("PETSC_DIR:\n${PETSC_DIR}\n" )
|
||||
message ("PETSC_INCLUDES:\n${PETSC_INCLUDES}\n" )
|
||||
message ("PETSC_EXTERNAL_LIB:\n${PETSC_EXTERNAL_LIB}\n")
|
||||
|
||||
#---------------------------------------------------------------------------------------
|
||||
# Now start to care about DAMASK
|
||||
|
|
Loading…
Reference in New Issue