From d8ba7166c44fff433458d2ec7b0f4f01578455be Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Tue, 1 Sep 2020 15:24:31 +0800 Subject: [PATCH] Fix include path for system installed eigen library --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 29b22415..4d115ef2 100644 --- a/Makefile +++ b/Makefile @@ -46,9 +46,11 @@ endif # Default to automatically installing EIGEN ifeq ($(EIGEN), install) EIGEN_CHECK = eigen/INSTALL + EIGEN_INCLUDE = -I./eigen/ else # Use system-wide eigen EIGEN_CHECK = + EIGEN_INCLUDE ?= endif # Default to build and link the libhts submodule @@ -82,9 +84,6 @@ endif # Include the header-only fast5 library FAST5_INCLUDE = -I./fast5/include -# Include the header-only eigen library -EIGEN_INCLUDE = -I./eigen/ - # Include the src subdirectories NP_INCLUDE = $(addprefix -I./, $(SUBDIRS))