games/opendungeons: unbreak with boost 1.67
/usr/bin/ld: undefined reference to symbol `pthread_condattr_init@@FBSD_1.0' (try adding -lthr) PR: 227427 Reported by: antoine (via exp-run)
This commit is contained in:
13
games/opendungeons/files/patch-boost-1.67
Normal file
13
games/opendungeons/files/patch-boost-1.67
Normal file
@@ -0,0 +1,13 @@
|
||||
https://github.com/OpenDungeons/OpenDungeons/pull/1287
|
||||
|
||||
--- CMakeLists.txt.orig 2016-08-24 19:52:29 UTC
|
||||
+++ CMakeLists.txt
|
||||
@@ -634,7 +634,7 @@ endif()
|
||||
|
||||
# MSVC automatically links boost
|
||||
if(NOT MSVC)
|
||||
- target_link_libraries(${PROJECT_BINARY_NAME} ${Boost_LIBRARIES})
|
||||
+ target_link_libraries(${PROJECT_BINARY_NAME} ${Boost_LIBRARIES} Threads::Threads)
|
||||
endif()
|
||||
|
||||
# Link sfml
|
||||
Reference in New Issue
Block a user