diff options
author | ROUVREAU Vincent <vincent.rouvreau@inria.fr> | 2020-06-25 12:19:33 +0200 |
---|---|---|
committer | ROUVREAU Vincent <vincent.rouvreau@inria.fr> | 2020-06-25 12:19:33 +0200 |
commit | b12be95458023397cd8d6f5bc2bed2c007eeefbc (patch) | |
tree | cb6f6bc61e900257f8e3fc125e4a5e129d1b1b47 /src/python/CMakeLists.txt | |
parent | 7f36ec1b83d3ebfbdd3294e136c385b04dafa23d (diff) |
parent_scope when setting variables in a function
Diffstat (limited to 'src/python/CMakeLists.txt')
-rw-r--r-- | src/python/CMakeLists.txt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/python/CMakeLists.txt b/src/python/CMakeLists.txt index 80faf0f9..4f26481e 100644 --- a/src/python/CMakeLists.txt +++ b/src/python/CMakeLists.txt @@ -17,8 +17,7 @@ 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}', ") - message("add_GUDHI_PYTHON_lib_dir '${THE_LIB_DIR}'") + set(GUDHI_PYTHON_LIBRARY_DIRS "${GUDHI_PYTHON_LIBRARY_DIRS}'${THE_LIB_DIR}', " PARENT_SCOPE) else() message("add_GUDHI_PYTHON_lib_dir - '${THE_LIB_DIR}' does not exist") endif() |