Try to build windowsxp compatible packages
This commit is contained in:
parent
5b22187a3d
commit
195ab9a150
1 changed files with 2 additions and 0 deletions
|
@ -74,6 +74,8 @@ endif()
|
||||||
# Define proper compilation flags
|
# Define proper compilation flags
|
||||||
IF(MSVC)
|
IF(MSVC)
|
||||||
# Visual Studio:
|
# Visual Studio:
|
||||||
|
# Support from Windows XP
|
||||||
|
SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /SUBSYSTEM:WINDOWS,5.01")
|
||||||
# Maximum optimization
|
# Maximum optimization
|
||||||
set(CMAKE_CXX_FLAGS_RELEASE "/Ox /MD")
|
set(CMAKE_CXX_FLAGS_RELEASE "/Ox /MD")
|
||||||
# Generate complete debugging information
|
# Generate complete debugging information
|
||||||
|
|
Loading…
Reference in a new issue