TBB is used for Linux only

This commit is contained in:
Dan Paulat 2025-06-14 09:20:55 -05:00
parent 8a56d3deed
commit 3000e23cb1
2 changed files with 2 additions and 2 deletions

View file

@ -635,7 +635,7 @@ if (WIN32)
target_compile_definitions(supercell-wx PUBLIC WIN32_LEAN_AND_MEAN)
endif()
if (NOT MSVC)
if (LINUX)
# Qt emit keyword is incompatible with TBB
target_compile_definitions(scwx-qt PRIVATE QT_NO_EMIT)
target_compile_definitions(supercell-wx PRIVATE QT_NO_EMIT)