From e70a9e994def67860e513b3c9b59ca1b6da0caa2 Mon Sep 17 00:00:00 2001 From: "Jonathan R. Madsen" Date: Thu, 9 Sep 2021 16:34:01 -0500 Subject: [PATCH] Use TBB_INCLUDE_DIR instead of TBB_INCLUDE_DIRS (#9) - fix to const int issue with mpi::comm_type_shared_v --- cmake/Packages.cmake | 8 ++------ external/timemory | 2 +- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/cmake/Packages.cmake b/cmake/Packages.cmake index ff897b2220..d7a0e7ae1b 100644 --- a/cmake/Packages.cmake +++ b/cmake/Packages.cmake @@ -89,7 +89,7 @@ if(HOSTTRACE_BUILD_DYNINST) endif() endforeach() target_include_directories(hosttrace-dyninst SYSTEM INTERFACE - ${TBB_INCLUDE_DIRS} + ${TBB_INCLUDE_DIR} ${Boost_INCLUDE_DIRS} $ $ @@ -143,10 +143,6 @@ else() PATH_SUFFIXES include) endif() - if(TBB_INCLUDE_DIR AND NOT TBB_INCLUDE_DIRS) - set(TBB_INCLUDE_DIRS ${TBB_INCLUDE_DIR}) - endif() - if(DYNINST_API_RT) target_compile_definitions(hosttrace-dyninst INTERFACE DYNINST_API_RT="${DYNINST_API_RT}") @@ -173,7 +169,7 @@ else() endif() endforeach() target_include_directories(hosttrace-dyninst SYSTEM INTERFACE - ${TBB_INCLUDE_DIRS} + ${TBB_INCLUDE_DIR} ${Boost_INCLUDE_DIRS} ${DYNINST_HEADER_DIR}) target_compile_definitions(hosttrace-dyninst INTERFACE hosttrace_USE_DYNINST) diff --git a/external/timemory b/external/timemory index acc0c0a98e..362130c4f3 160000 --- a/external/timemory +++ b/external/timemory @@ -1 +1 @@ -Subproject commit acc0c0a98e286bb8f9b878b01257d629cb34df94 +Subproject commit 362130c4f395d68bb92254f5f705356333d2fba4