diff options
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index c275f67..07b23f0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -66,6 +66,10 @@ if(WIN32) src/thread_null.c ) endif() + + if(BHLIB_NO_WINXP) + add_definitions(-D_WIN32_WINNT=_WIN32_WINNT_VISTA -DWINVER=_WIN32_WINNT_VISTA) + endif() elseif(UNIX) message(STATUS "Platform: Unix (Linux/BSD/MacOS X)") |
