From 195ab9a150b09b65658dec922ee3f86e2f47eb0d Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Wed, 17 Feb 2016 09:12:40 +0100 Subject: [PATCH] Try to build windowsxp compatible packages --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1bbb7b84..bcd4416a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -74,6 +74,8 @@ endif() # Define proper compilation flags IF(MSVC) # Visual Studio: + # Support from Windows XP + SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /SUBSYSTEM:WINDOWS,5.01") # Maximum optimization set(CMAKE_CXX_FLAGS_RELEASE "/Ox /MD") # Generate complete debugging information