MDEV-16345 : No upgrade wizard in 10.3 in Windows packages.
Disable /permissive- flag, so MFC is found, and upgrade_wizard is built. MFC code is not standard C++, so it doesn not play well with /permissive-
This commit is contained in:
parent
682e7b8ff4
commit
5a61fa9882
@ -11,6 +11,9 @@ IF(CMAKE_USING_VC_FREE_TOOLS)
|
||||
ENDIF()
|
||||
|
||||
# We need MFC
|
||||
# /permissive- flag does not play well with MFC, disable it.
|
||||
STRING(REPLACE "/permissive-" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
|
||||
|
||||
FIND_PACKAGE(MFC)
|
||||
IF(NOT MFC_FOUND)
|
||||
IF(BUILD_RELEASE)
|
||||
|
Loading…
x
Reference in New Issue
Block a user