Commit 22a7df67 authored by incardon's avatar incardon
Browse files

Removing required from pkgConfig

parent b6bc22d8
Pipeline #858 failed with stages
in 161 minutes and 45 seconds
......@@ -47,7 +47,7 @@
# 3. If shared library linking fails, test with static library linking
# Load pkg-config module (provided by CMake)
find_package(PkgConfig REQUIRED)
find_package(PkgConfig)
# Find PETSc pkg-config file. Note: craypetsc_real is on Cray systems
set(ENV{PKG_CONFIG_PATH} "$ENV{CRAY_PETSC_PREFIX_DIR}/lib/pkgconfig:$ENV{PETSC_DIR}/$ENV{PETSC_ARCH}/lib/pkgconfig:$ENV{PETSC_DIR}/lib/pkgconfig:$ENV{PKG_CONFIG_PATH}")
......@@ -209,4 +209,3 @@ else()
FAIL_MESSAGE "PETSc could not be found. Be sure to set PETSC_DIR.")
endif()
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