Fixed missing pthread dependency
The find script fails to add pthread to the SFML_SYSTEM_DEPENDENCIES when linking SFML statically on Linux.
This commit is contained in:
parent
5dbfb477a0
commit
66f38262f7
@ -256,7 +256,7 @@ if(SFML_STATIC_LIBRARIES)
|
|||||||
set(SFML_SYSTEM_DEPENDENCIES "pthread")
|
set(SFML_SYSTEM_DEPENDENCIES "pthread")
|
||||||
endif()
|
endif()
|
||||||
if(FIND_SFML_OS_LINUX)
|
if(FIND_SFML_OS_LINUX)
|
||||||
set(SFML_SYSTEM_DEPENDENCIES "rt")
|
set(SFML_SYSTEM_DEPENDENCIES ${SFML_SYSTEM_DEPENDENCIES} "rt")
|
||||||
endif()
|
endif()
|
||||||
if(FIND_SFML_OS_WINDOWS)
|
if(FIND_SFML_OS_WINDOWS)
|
||||||
set(SFML_SYSTEM_DEPENDENCIES "winmm")
|
set(SFML_SYSTEM_DEPENDENCIES "winmm")
|
||||||
|
Loading…
Reference in New Issue
Block a user