mirror of https://github.com/AxioDL/amuse.git
Editor/CMakeLists: Add QT_USE_QSTRINGBUILDER definition
This commit is contained in:
parent
ea84a7e35b
commit
658c33eb0d
|
@ -60,6 +60,11 @@ add_executable(amuse-gui WIN32 MACOSX_BUNDLE
|
||||||
${QM_FILES}
|
${QM_FILES}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
target_compile_definitions(amuse-gui PRIVATE
|
||||||
|
# Allows for more efficient string concatenation, resulting in less temporaries.
|
||||||
|
-DQT_USE_QSTRINGBUILDER
|
||||||
|
)
|
||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
target_sources(amuse-gui PRIVATE
|
target_sources(amuse-gui PRIVATE
|
||||||
platforms/win/amuse-gui.rc
|
platforms/win/amuse-gui.rc
|
||||||
|
|
Loading…
Reference in New Issue