Skip to content

[tbb] Does not build a debug lib on linux static #16308

@Chronial

Description

@Chronial

Building tbb:x64-linux only provides a release version of the library and is missing the debug version. installed/x64-linux/lib/libtbb.a exists installed/x64-linux/debug/lib/libtbb.a does not.

This also results in build errors when trying to build a debug build with the vcpkg tbb library.

A workaround is to use the release version in debug builds:

find_package(TBB CONFIG REQUIRED)

get_target_property(tbb_location TBB::tbb IMPORTED_LOCATION_RELEASE)
set_target_properties(TBB::tbb PROPERTIES
                      IMPORTED_LOCATION_DEBUG "${tbb_location}")

Metadata

Metadata

Assignees

Labels

category:port-bugThe issue is with a library, which is something the port should already support

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions