From 7db6770e7b95f5e7a28f47e5642d1b175ba842bb Mon Sep 17 00:00:00 2001
From: Wenqing Wang <wenqing.wang@ufz.de>
Date: Thu, 16 Oct 2014 13:37:48 +0200
Subject: [PATCH] Recovery CLI/CMakeLists.txt

---
 Applications/CLI/CMakeLists.txt | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Applications/CLI/CMakeLists.txt b/Applications/CLI/CMakeLists.txt
index edb87aa77c7..836daed4fc4 100644
--- a/Applications/CLI/CMakeLists.txt
+++ b/Applications/CLI/CMakeLists.txt
@@ -11,4 +11,8 @@ TARGET_LINK_LIBRARIES(ogs
     ${Boost_LIBRARIES}
 )
 
+IF(OGS_USE_PETSC)
+    TARGET_LINK_LIBRARIES(ogs ${ogs} ${PETSC_LIBRARIES})
+ENDIF()
+
 INCLUDE(Tests.cmake)
-- 
GitLab