diff options
author | Hind-M <hind.montassif@gmail.com> | 2021-12-15 11:36:05 +0100 |
---|---|---|
committer | Hind-M <hind.montassif@gmail.com> | 2021-12-15 11:36:05 +0100 |
commit | a2b5e8afab53835ef442451c6763c103f02ac4f5 (patch) | |
tree | 8010f2c574267eb4b7d02056ebed8e47ba9194f6 /src/python/CMakeLists.txt | |
parent | 6880bce525322cc085a3d8671601145d153e29a8 (diff) |
Fix failing tests in debug mode
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 4a017251..1faaf50d 100644 --- a/src/python/CMakeLists.txt +++ b/src/python/CMakeLists.txt @@ -243,7 +243,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() |