mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
Fix a problem building MSI using localized (Spanish) Visual Studio 2010.
VS did not like to execute 2 commands in custom build step, workaround is to use single COMMAND instead of 2.
This commit is contained in:
parent
835393a448
commit
c0f2f1f1f6
2 changed files with 1 additions and 3 deletions
|
@ -157,7 +157,6 @@ ENDIF()
|
||||||
|
|
||||||
ADD_CUSTOM_TARGET(
|
ADD_CUSTOM_TARGET(
|
||||||
MSI
|
MSI
|
||||||
COMMAND set VS_UNICODE_OUTPUT=
|
|
||||||
COMMAND ${CMAKE_COMMAND}
|
COMMAND ${CMAKE_COMMAND}
|
||||||
${CONFIG_PARAM}
|
${CONFIG_PARAM}
|
||||||
-P ${CMAKE_CURRENT_BINARY_DIR}/create_msi.cmake
|
-P ${CMAKE_CURRENT_BINARY_DIR}/create_msi.cmake
|
||||||
|
@ -166,7 +165,6 @@ ADD_DEPENDENCIES(MSI wixca)
|
||||||
|
|
||||||
ADD_CUSTOM_TARGET(
|
ADD_CUSTOM_TARGET(
|
||||||
MSI_ESSENTIALS
|
MSI_ESSENTIALS
|
||||||
COMMAND set VS_UNICODE_OUTPUT=
|
|
||||||
COMMAND ${CMAKE_COMMAND} -DESSENTIALS=1
|
COMMAND ${CMAKE_COMMAND} -DESSENTIALS=1
|
||||||
${CONFIG_PARAM}
|
${CONFIG_PARAM}
|
||||||
-P ${CMAKE_CURRENT_BINARY_DIR}/create_msi.cmake
|
-P ${CMAKE_CURRENT_BINARY_DIR}/create_msi.cmake
|
||||||
|
|
|
@ -28,7 +28,7 @@ SET(THIRD_PARTY_DOWNLOAD_LOCATION "@THIRD_PARTY_DOWNLOAD_LOCATION@")
|
||||||
SET(THIRD_PARTY_FEATURE_CONDITION "@THIRD_PARTY_FEATURE_CONDITION@")
|
SET(THIRD_PARTY_FEATURE_CONDITION "@THIRD_PARTY_FEATURE_CONDITION@")
|
||||||
SET(LIBMYSQL_LOCATION "@LIBMYSQL_LOCATION@")
|
SET(LIBMYSQL_LOCATION "@LIBMYSQL_LOCATION@")
|
||||||
|
|
||||||
|
SET($ENV{VS_UNICODE_OUTPUT} "")
|
||||||
IF(LIBMYSQL_LOCATION AND CMAKE_CFG_INTDIR)
|
IF(LIBMYSQL_LOCATION AND CMAKE_CFG_INTDIR)
|
||||||
# resolve libmysql full path
|
# resolve libmysql full path
|
||||||
STRING(REPLACE "${CMAKE_CFG_INTDIR}" "${CMAKE_INSTALL_CONFIG_NAME}" LIBMYSQL_LOCATION "${LIBMYSQL_LOCATION}")
|
STRING(REPLACE "${CMAKE_CFG_INTDIR}" "${CMAKE_INSTALL_CONFIG_NAME}" LIBMYSQL_LOCATION "${LIBMYSQL_LOCATION}")
|
||||||
|
|
Loading…
Reference in a new issue