mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-02 04:02:23 +03:00
ci: Explicitly specify WiX architecture in packaging jobs
This commit is contained in:
1 parent
c1616c98bf
commit
ac5aa7f1bf
2 files changed
+6
No files matched your search
@@ -1,6 +1,9 @@
|
||||
# CPack package file name component for this platform.
|
||||
set(CPACK_SYSTEM_NAME "windows-i386" CACHE STRING "")
|
||||
|
||||
# Tell WiX to package for this architecture.
|
||||
set(CPACK_WIX_ARCHITECTURE "x86" CACHE STRING "")
|
||||
|
||||
# Use APIs from at most Windows 7
|
||||
set(CMAKE_C_FLAGS "-D_WIN32_WINNT=0x601 -DNTDDI_VERSION=0x06010000" CACHE STRING "")
|
||||
set(CMAKE_CXX_FLAGS "-GR -EHsc -D_WIN32_WINNT=0x601 -DNTDDI_VERSION=0x06010000" CACHE STRING "")
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
# CPack package file name component for this platform.
|
||||
set(CPACK_SYSTEM_NAME "windows-x86_64" CACHE STRING "")
|
||||
|
||||
# Tell WiX to package for this architecture.
|
||||
set(CPACK_WIX_ARCHITECTURE "x64" CACHE STRING "")
|
||||
|
||||
# Use APIs from at most Windows 7
|
||||
set(CMAKE_C_FLAGS "-D_WIN32_WINNT=0x601 -DNTDDI_VERSION=0x06010000" CACHE STRING "")
|
||||
set(CMAKE_CXX_FLAGS "-GR -EHsc -D_WIN32_WINNT=0x601 -DNTDDI_VERSION=0x06010000" CACHE STRING "")
|
||||
|
||||
Reference in new issue
Block a user