Commit c3d0bb8d authored by Martin Beseda's avatar Martin Beseda
Browse files

[FIX] Fixed bad folder name in FindPetsc.cmake

parent d5cd1bab
...@@ -9,7 +9,7 @@ string(REPLACE ":" ";" LIBRARY_PATH_LOC "${LIBRARY_PATH}") ...@@ -9,7 +9,7 @@ string(REPLACE ":" ";" LIBRARY_PATH_LOC "${LIBRARY_PATH}")
string(REPLACE ":" ";" LIBRARY_PATH_ENV "$ENV{LIBRARY_PATH}") string(REPLACE ":" ";" LIBRARY_PATH_ENV "$ENV{LIBRARY_PATH}")
FIND_PACKAGE(PkgConfig) FIND_PACKAGE(PkgConfig)
PKG_CHECK_MODULES(PC_PETSC QUITE PETSC) #PKG_CHECK_MODULES(PC_PETSC QUITE PETSC)
# Find headers # Find headers
FIND_PATH( FIND_PATH(
...@@ -18,6 +18,8 @@ FIND_PATH( ...@@ -18,6 +18,8 @@ FIND_PATH(
NAMES include/petsc.h NAMES include/petsc.h
PATHS PATHS
${PETSC_DIR}
$ENV{PETSC_DIR}
${PETSC_ROOT} ${PETSC_ROOT}
$ENV{PETSC_ROOT} $ENV{PETSC_ROOT}
$ENV{HOME}/petsc $ENV{HOME}/petsc
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment