Skip to content

Commit 7164db2

Browse files
committed
Removed now unecessary tbb/glibc defines in AX CMake
Signed-off-by: Nick Avramoussis <4256455+Idclip@users.noreply.github.com>
1 parent 3bc6686 commit 7164db2

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

openvdb_ax/openvdb_ax/CMakeLists.txt

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -267,18 +267,6 @@ if(NOT LLVM_ENABLE_RTTI)
267267
"$<$<AND:$<CONFIG:UBSAN>,$<COMPILE_LANG_AND_ID:CXX,GNU,Clang,AppleClang>>:-fno-sanitize=vptr>")
268268
endif()
269269

270-
if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
271-
# TBB can't determine libstdc++ version if Clang is in use. This causes issues
272-
# with any TBB container using features from C++11 and greater (such as
273-
# tbb::concurrent_vector::emplace_back, used in the VolumeExecutable)
274-
# https://github.com/01org/tbb/issues/22
275-
# https://www.threadingbuildingblocks.org/docs/help/reference/appendices/known_issues/linux_os.html
276-
# https://www.threadingbuildingblocks.org/docs/help/reference/environment/feature_macros.html
277-
string(REPLACE "." "0" TBB_USE_GLIBCXX_VERSION ${CMAKE_CXX_COMPILER_VERSION})
278-
list(APPEND OPENVDB_AX_PUBLIC_DEFINES
279-
-DTBB_USE_GLIBCXX_VERSION=${TBB_USE_GLIBCXX_VERSION})
280-
endif()
281-
282270
if(WIN32)
283271
# Silence deprecation warnings coming from MSVC/LLVM about deriving from std::iterator
284272
list(APPEND OPENVDB_AX_PUBLIC_DEFINES

0 commit comments

Comments
 (0)