mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
Amend 635a7d77
: define /Zc flag also with QT6
This commit is contained in:
parent
7b4df8fbd0
commit
0cbc55805b
@ -1109,7 +1109,7 @@ if(MSVC)
|
||||
|
||||
endif()
|
||||
|
||||
if (NOT Qt5Core_FOUND)
|
||||
if (NOT (Qt5Core_FOUND OR Qt6Core_FOUND))
|
||||
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /Zc:wchar_t-")
|
||||
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /Zc:wchar_t-")
|
||||
set(CMAKE_CXX_FLAGS_MINSIZEREL "${CMAKE_CXX_FLAGS_MINSIZEREL} /Zc:wchar_t-")
|
||||
|
Loading…
Reference in New Issue
Block a user