Skip to content

Commit 53d869e

Browse files
author
Alicia Klinvex
committed
Fixed typo in CMakeLists.txt
1 parent 16536d1 commit 53d869e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ if (ALQUIMIA_NEED_PETSC)
233233
include_directories(${PETSC_INCLUDES})
234234

235235
# Include PETSc in the rpath.
236-
if(DEFINED ${PETSC_ARCH})
236+
if(DEFINED ENV{PETSC_ARCH})
237237
set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_RPATH}:${PETSC_DIR}/${PETSC_ARCH}/lib")
238238
else()
239239
set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_RPATH}:${PETSC_DIR}/lib")

0 commit comments

Comments
 (0)