Merge pull request #473 from LaurensVoerman/submit_OT_winver
remove conficting defenition of _WIN32_WINNT in OSG_DETERMINE_WIN_VERSION is ON
This commit is contained in:
commit
f9e2fb9d74
@ -4,7 +4,9 @@ SET(LIB_NAME OpenThreads)
|
|||||||
SET(LIB_PUBLIC_HEADERS ${OpenThreads_PUBLIC_HEADERS})
|
SET(LIB_PUBLIC_HEADERS ${OpenThreads_PUBLIC_HEADERS})
|
||||||
|
|
||||||
ADD_DEFINITIONS(-DWIN32_LEAN_AND_MEAN)
|
ADD_DEFINITIONS(-DWIN32_LEAN_AND_MEAN)
|
||||||
ADD_DEFINITIONS(-D_WIN32_WINNT=0x0400)
|
IF(NOT OSG_DETERMINE_WIN_VERSION)
|
||||||
|
ADD_DEFINITIONS(-D_WIN32_WINNT=0x0400)
|
||||||
|
ENDIF(NOT OSG_DETERMINE_WIN_VERSION)
|
||||||
SOURCE_GROUP("Header Files" FILES ${LIB_PUBLIC_HEADERS})
|
SOURCE_GROUP("Header Files" FILES ${LIB_PUBLIC_HEADERS})
|
||||||
SET_SOURCE_FILES_PROPERTIES(${LIB_PUBLIC_HEADERS} PROPERTIES HEADER_FILE_ONLY ON)
|
SET_SOURCE_FILES_PROPERTIES(${LIB_PUBLIC_HEADERS} PROPERTIES HEADER_FILE_ONLY ON)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user