Debian Codegraph @

config/vcpkg/ports/metis-mfem/fix-linux-build-error.patch

raw
1 diff --git a/CMakeLists.txt b/CMakeLists.txt
2 index e94f050..b9613a7 100644
3 --- a/CMakeLists.txt
4 +++ b/CMakeLists.txt
5 @@ -1,7 +1,8 @@
6 cmake_minimum_required(VERSION 2.8)
7 project(METIS)
8
9 -set(GKLIB_PATH "GKlib" CACHE PATH "path to GKlib")
10 +set(GKLIB_PATH "${CMAKE_SOURCE_DIR}/GKlib" CACHE PATH "path to GKlib")
11 +
12 set(SHARED FALSE CACHE BOOL "build a shared library")
13
14 set(METIS_INSTALL TRUE)