Skip to content

Commit

Permalink
Find pthread in CMakeLists.txt (#1714)
Browse files Browse the repository at this point in the history
* Add threads package

* Don't make it required as per the website source
  • Loading branch information
wezrule committed Feb 16, 2019
1 parent 2331c69 commit a055ad7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions CMakeLists.txt
Expand Up @@ -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
Expand Down

0 comments on commit a055ad7

Please sign in to comment.