Fix MSVC build

stable-5.2
Nicolas Hake 2009-07-06 04:40:57 +02:00
parent 199cf0d5a6
commit 4649547c97
1 changed files with 2 additions and 2 deletions

View File

@ -519,8 +519,8 @@ include(FindPNG)
include(FindZLIB)
include(FindThreads)
if(${CMAKE_USE_PTHREADS_INIT} AND NOT WIN32)
SET(HAVE_PTHREAD 1)
if(NOT WIN32)
SET(HAVE_PTHREAD ${CMAKE_USE_PTHREADS_INIT} CACHE INTERNAL "libpthread available")
endif()
# isilkor 09-05-29: FindFreetype only checks for no-ver and 219