Find pthread in CMakeLists.txt (#1714)
* Add threads package * Don't make it required as per the website source
This commit is contained in:
parent
2331c69d76
commit
a055ad7c86
1 changed files with 1 additions and 3 deletions
|
@ -30,9 +30,7 @@ endif()
|
|||
|
||||
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
||||
|
||||
# TODO check if any library requires these
|
||||
#find_package(Threads REQUIRED)
|
||||
#set (PLATFORM_LIBS ${CMAKE_THREAD_LIBS_INIT} ${CMAKE_DL_LIBS})
|
||||
find_package(Threads)
|
||||
|
||||
if (WIN32)
|
||||
add_definitions(-D_WIN32_WINNT=0x0600
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue