diff options
author | MathieuCarriere <mathieu.carriere3@gmail.com> | 2022-01-04 18:36:07 +0100 |
---|---|---|
committer | MathieuCarriere <mathieu.carriere3@gmail.com> | 2022-01-04 18:36:07 +0100 |
commit | 495a91277a3bfabb0adcc80b6c567d0d79f1ef29 (patch) | |
tree | 645e39f904b9b731dc2f3d7b29d0685ef703edaf /src/python/CMakeLists.txt | |
parent | e646ae22012a191081d6251b88427c0ee1939603 (diff) | |
parent | 5eea7c4065873d5542df9a6c18acaf2402cf7822 (diff) |
Merge branch 'master' of https://github.com/GUDHI/gudhi-devel into diff
Diffstat (limited to 'src/python/CMakeLists.txt')
-rw-r--r-- | src/python/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/CMakeLists.txt b/src/python/CMakeLists.txt index 672b97a5..ef7fb12a 100644 --- a/src/python/CMakeLists.txt +++ b/src/python/CMakeLists.txt @@ -251,7 +251,7 @@ if(PYTHONINTERP_FOUND) if (TBB_FOUND AND WITH_GUDHI_USE_TBB) add_gudhi_debug_info("TBB version ${TBB_INTERFACE_VERSION} found and used") set(GUDHI_PYTHON_EXTRA_COMPILE_ARGS "${GUDHI_PYTHON_EXTRA_COMPILE_ARGS}'-DGUDHI_USE_TBB', ") - if(CMAKE_BUILD_TYPE MATCHES Debug) + if((CMAKE_BUILD_TYPE MATCHES Debug) AND TBB_DEBUG_LIBRARY) add_GUDHI_PYTHON_lib("${TBB_DEBUG_LIBRARY}") add_GUDHI_PYTHON_lib("${TBB_MALLOC_DEBUG_LIBRARY}") else() |