Commit 46c31647 authored by Hanspeter Portner's avatar Hanspeter Portner

idisp: add pthread to static linux dependencies.

parent 485991f4
Pipeline #4532832 passed with stages
in 9 minutes and 3 seconds
......@@ -73,6 +73,10 @@ if(BUILD_INLINE_DISPLAY)
include_directories(${CAIRO_INCLUDE_DIRS})
if(DEFINED STATIC_CAIRO)
set(LIBS ${STATIC_CAIRO} ${STATIC_PIXMAN} ${LIBS})
if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
set(LIBS ${LIBS} pthread)
endif()
else()
set(LIBS ${LIBS} ${CAIRO_LDFLAGS})
endif()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment