Editor/CMakeLists: Add QT_USE_QSTRINGBUILDER definition

This commit is contained in:
Lioncash 2019-08-25 21:37:48 -04:00
parent ea84a7e35b
commit 658c33eb0d
1 changed files with 5 additions and 0 deletions

View File

@ -60,6 +60,11 @@ add_executable(amuse-gui WIN32 MACOSX_BUNDLE
${QM_FILES}
)
target_compile_definitions(amuse-gui PRIVATE
# Allows for more efficient string concatenation, resulting in less temporaries.
-DQT_USE_QSTRINGBUILDER
)
if(WIN32)
target_sources(amuse-gui PRIVATE
platforms/win/amuse-gui.rc