Commit a62dc0f1 authored by Maik Froechtenicht's avatar Maik Froechtenicht

Fix for VTK issue 17365 related MINGW build.

MINGW is not able to build VTK with lzma, glew in POSIX thread mode.
parent 24fb8e86
......@@ -109,7 +109,11 @@ set(TUKLIB_SYMBOL_PREFIX vtklzma_)
find_package(Threads REQUIRED)
if (CMAKE_USE_PTHREADS_INIT)
set(MYTHREAD_POSIX 1)
if (MINGW)
set(MYTHREAD_VISTA 1)
else ()
set(MYTHREAD_POSIX 1)
endif ()
elseif (CMAKE_USE_WIN32_THREADS_INIT)
set(MYTHREAD_VISTA 1)
else ()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment