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