mirror of
https://github.com/MariaDB/server.git
synced 2026-05-07 07:35:32 +02:00
BUG#24732 manifest file was not included in VS2005 amd64 builds
CMakeLists.txt: BUG#24732 prevent VS2005 from overwriting our generated manifest
This commit is contained in:
parent
ad33a48afc
commit
6b7b95637a
1 changed files with 5 additions and 0 deletions
|
|
@ -154,6 +154,11 @@ IF(EMBED_MANIFESTS)
|
|||
# Disable automatic manifest generation.
|
||||
STRING(REPLACE "/MANIFEST" "/MANIFEST:NO" CMAKE_EXE_LINKER_FLAGS
|
||||
${CMAKE_EXE_LINKER_FLAGS})
|
||||
# Explicitly disable it since it is the default for newer versions of VS
|
||||
STRING(REGEX MATCH "MANIFEST:NO" tmp_manifest ${CMAKE_EXE_LINKER_FLAGS})
|
||||
IF(NOT tmp_manifest)
|
||||
SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /MANIFEST:NO")
|
||||
ENDIF(tmp_manifest)
|
||||
# Set the processor architecture.
|
||||
IF(CMAKE_GENERATOR MATCHES "Visual Studio 8 2005 Win64")
|
||||
SET(PROCESSOR_ARCH "X64")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue