Skip to content
Permalink
Browse files
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-
  • Loading branch information
vaintroub committed May 30, 2018
1 parent 682e7b8 commit 5a61fa9
Showing 1 changed file with 3 additions and 0 deletions.
@@ -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)

0 comments on commit 5a61fa9

Please sign in to comment.