mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 15:10:06 +00:00
emit keyword is incompatible with oneTBB
This commit is contained in:
parent
b9f55fbb4d
commit
ea6134acea
24 changed files with 81 additions and 72 deletions
|
|
@ -371,6 +371,12 @@ if (WIN32)
|
|||
target_compile_definitions(supercell-wx PUBLIC WIN32_LEAN_AND_MEAN)
|
||||
endif()
|
||||
|
||||
if (NOT MSVC)
|
||||
# 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)
|
||||
endif()
|
||||
|
||||
target_include_directories(scwx-qt PUBLIC ${scwx-qt_SOURCE_DIR}/source
|
||||
${FTGL_INCLUDE_DIR}
|
||||
${IMGUI_INCLUDE_DIRS}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue