mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-02 03:23:56 -07:00
OS X still works with pthread fix - added explanation
This commit is contained in:
parent
e366bd7a71
commit
b93317cc17
1 changed files with 1 additions and 0 deletions
|
|
@ -48,6 +48,7 @@ INCLUDE_DIRECTORIES(${PROTOBUF_INCLUDE_DIR})
|
||||||
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})
|
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})
|
||||||
|
|
||||||
add_library(cockatrice_common ${common_SOURCES} ${common_HEADERS_MOC})
|
add_library(cockatrice_common ${common_SOURCES} ${common_HEADERS_MOC})
|
||||||
|
# Without this check, Linux will put -pthread out of order in link.txt and build will fail
|
||||||
if (UNIX)
|
if (UNIX)
|
||||||
target_link_libraries(cockatrice_common cockatrice_protocol pthread)
|
target_link_libraries(cockatrice_common cockatrice_protocol pthread)
|
||||||
else (UNIX)
|
else (UNIX)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue