Skip to content

Commit

Permalink
Only require pthreads location when using MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
eldruin committed May 22, 2018
1 parent 62575e2 commit 1d6cef8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ option(PD_MULTI "Compile with multiple instance support" OFF)
option(PD_LOCALE "Set the LC_NUMERIC number format to the default C locale" ON)
option(PD_BUILD_C_EXAMPLES "Builds C API example programs" OFF)

if (WIN32)
if (MSVC)
option(CMAKE_THREAD_LIBS_INIT "Path to pthreads library")
option(PTHREADS_INCLUDE_DIR "Path to the pthreads library header files")
# We need pthreads.
Expand Down

0 comments on commit 1d6cef8

Please sign in to comment.