]> git.lyx.org Git - features.git/blobdiff - CMakeLists.txt
Make trivstring class ready for use
[features.git] / CMakeLists.txt
index 0db64f7341842ad4d1df3ab60ad9e2ca180872f7..8be95c709ab153f1205fb2f2b97a5803dc1a38c2 100644 (file)
@@ -259,10 +259,13 @@ if(UNIX OR MINGW)
                endif()
                set(LYX_GCC11_MODE "${CXX11_FLAG}")
        endif()
+       set(STD_STRING_USES_COW 1)
 else()
        if(MSVC10)
                set(LYX_USE_TR1 1)
                #set(LYX_USE_TR1_REGEX 1) #TODO should we use it in ECMAScript mode?
+       else()
+               set(STD_STRING_USES_COW 1)
        endif()
 endif()