Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macro FindTBB fails at detecting OneTBB #193

Open
pkestene opened this issue Apr 18, 2023 · 0 comments
Open

macro FindTBB fails at detecting OneTBB #193

pkestene opened this issue Apr 18, 2023 · 0 comments

Comments

@pkestene
Copy link
Contributor

cmake fails at detecting OneTBB because it is looking for header task_scheduler_init.h which has been removed from TBB in version 2021.1.

One solution could be to first try to detect OneTBB using find_package in CONFIG mode, if it fails, try to use current macro to detect an older version of TBB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant