Set lowest supported Win32 version to WinXP (was Win9x before), Issue 2159 comment 22
This commit is contained in:
@@ -207,7 +207,9 @@ if (WIN32)
|
||||
if (MINGW)
|
||||
add_definitions (-D__MINGW32__)
|
||||
endif (MINGW)
|
||||
|
||||
if (CMAKE_SIZEOF_VOID_P EQUAL 4)
|
||||
add_definitions (-DWINVER=0x0501)
|
||||
endif (CMAKE_SIZEOF_VOID_P EQUAL 4)
|
||||
set (EXTRA_LIB "-lws2_32 -lshlwapi")
|
||||
endif (WIN32)
|
||||
# you may need lcms v1.xx for older version : pkg_check_modules (LCMS REQUIRED lcms<=1.99)
|
||||
|
Reference in New Issue
Block a user