diff options
author | tycho <work.tycho@gmail.com> | 2015-05-23 12:53:49 +0200 |
---|---|---|
committer | tycho <work.tycho@gmail.com> | 2015-05-23 12:53:49 +0200 |
commit | 7a5c1d30f8f8aaa7ea55463c42fe36e1dda0c6b6 (patch) | |
tree | 46f355b9afcff734f9dfefcbfc7801479b8c1e92 | |
parent | Merge branch 'master' into PreventNewWarnings (diff) | |
download | cuberite-7a5c1d30f8f8aaa7ea55463c42fe36e1dda0c6b6.tar cuberite-7a5c1d30f8f8aaa7ea55463c42fe36e1dda0c6b6.tar.gz cuberite-7a5c1d30f8f8aaa7ea55463c42fe36e1dda0c6b6.tar.bz2 cuberite-7a5c1d30f8f8aaa7ea55463c42fe36e1dda0c6b6.tar.lz cuberite-7a5c1d30f8f8aaa7ea55463c42fe36e1dda0c6b6.tar.xz cuberite-7a5c1d30f8f8aaa7ea55463c42fe36e1dda0c6b6.tar.zst cuberite-7a5c1d30f8f8aaa7ea55463c42fe36e1dda0c6b6.zip |
Diffstat (limited to '')
-rw-r--r-- | SetFlags.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/SetFlags.cmake b/SetFlags.cmake index b26796522..54b40aabb 100644 --- a/SetFlags.cmake +++ b/SetFlags.cmake @@ -80,8 +80,9 @@ macro(set_flags) else() # Let gcc / clang know that we're compiling a multi-threaded app: - if (UNIX) + if (${UNIX}) add_flags_cxx("-pthread") + add_flags_lnk("-pthread") endif() if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") |