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