parent
d8d393e4b8
commit
04cbeb0f8a
1 changed files with 8 additions and 1 deletions
|
|
@ -330,7 +330,14 @@ if(wxUSE_INTL AND NOT wxUSE_FILE)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(wxUSE_THREADS)
|
if(wxUSE_THREADS)
|
||||||
find_package(Threads REQUIRED)
|
if(ANDROID)
|
||||||
|
# Android has pthreads but FindThreads fails due to missing pthread_cancel
|
||||||
|
set(CMAKE_USE_PTHREADS_INIT 1)
|
||||||
|
set(CMAKE_THREAD_LIBS_INIT "")
|
||||||
|
set(Threads_FOUND TRUE)
|
||||||
|
else()
|
||||||
|
find_package(Threads REQUIRED)
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(wxUSE_LIBLZMA)
|
if(wxUSE_LIBLZMA)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue