From a448ea681ab52a4e8beadbf882dace13f54e1dab Mon Sep 17 00:00:00 2001 From: Benjamin Fang Date: Wed, 22 Jun 2022 09:22:43 +0800 Subject: [PATCH 1/2] change cmake command --- docs/setup.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/setup.rst b/docs/setup.rst index 6282fa6..d3e0b5a 100644 --- a/docs/setup.rst +++ b/docs/setup.rst @@ -47,7 +47,7 @@ Build (**replace "/installation/path" with path to the folder, where you want to mkdir dropEst/build cd dropEst/build - cmake -D CMAKE_INSTALL_PREFIX="/installation/path" . && make + cmake -DCMAKE_INSTALL_PREFIX="/installation/path" .. && make Install: From 850bfab1e063b30485207428bfc8b252ee4fb2cc Mon Sep 17 00:00:00 2001 From: Benjamin Fang Date: Wed, 22 Jun 2022 10:10:42 +0800 Subject: [PATCH 2/2] bamtools library directory may named lib64 --- CMake/FindBamTools.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMake/FindBamTools.cmake b/CMake/FindBamTools.cmake index 333ac17..2e18b08 100644 --- a/CMake/FindBamTools.cmake +++ b/CMake/FindBamTools.cmake @@ -9,7 +9,7 @@ # BAMTOOLS_FOUND - true if BAM has been found and can be used find_path(BAMTOOLS_INCLUDE_DIR api/BamReader.h PATHS ${BAMTOOLS_ROOT}/include PATH_SUFFIXES bamtools ../include ../include/bamtools) -find_library(BAMTOOLS_LIBRARY bamtools PATHS ${BAMTOOLS_ROOT}/lib PATH_SUFFIXES bamtools ../lib) +find_library(BAMTOOLS_LIBRARY bamtools PATHS ${BAMTOOLS_ROOT}/lib64 ${BAMTOOLS_ROOT}/lib PATH_SUFFIXES bamtools ../lib) include(FindPackageHandleStandardArgs) FIND_PACKAGE_HANDLE_STANDARD_ARGS(BAMTOOLS