From f0cafaee8c0958421b53463d52a5884b4891c7c7 Mon Sep 17 00:00:00 2001 From: ROUVREAU Vincent Date: Wed, 24 Jun 2020 16:07:47 +0200 Subject: Try to set MPFR_LIBRARIES_DIR --- src/python/CMakeLists.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/python/CMakeLists.txt b/src/python/CMakeLists.txt index 4da351a1..ba4f3e17 100644 --- a/src/python/CMakeLists.txt +++ b/src/python/CMakeLists.txt @@ -16,9 +16,11 @@ endfunction( add_GUDHI_PYTHON_lib ) function( add_GUDHI_PYTHON_lib_dir THE_LIB_DIR ) # deals when it is not set - error on windows - if(EXISTS ${THE_LIB_DIR}) - set(GUDHI_PYTHON_LIBRARY_DIRS "${GUDHI_PYTHON_LIBRARY_DIRS}'${THE_LIB_DIR}', ") - endif(EXISTS ${THE_LIB_DIR}) + foreach(LIB_DIR ${THE_LIB_DIR}) + if(EXISTS ${LIB_DIR}) + set(GUDHI_PYTHON_LIBRARY_DIRS "${GUDHI_PYTHON_LIBRARY_DIRS}'${LIB_DIR}', ") + endif(EXISTS ${LIB_DIR}) + endforeach() endfunction( add_GUDHI_PYTHON_lib_dir ) # THE_TEST is the python test file name (without .py extension) containing tests functions -- cgit v1.2.3