diff options
author | Ray-V <[email protected]> | 2024-04-03 16:21:13 +0100 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-04-04 09:26:54 +0900 |
commit | 7183742f16df2f647853b29712b9e0bf00d58bb1 (patch) | |
tree | 064fd1ee00881dc0aeada4128644c9bc2cb66693 | |
parent | 6d6d0adfe0d983da2678d624595f8a2afcaca2e3 (diff) | |
download | gwenview-7183742f16df2f647853b29712b9e0bf00d58bb1.tar.gz gwenview-7183742f16df2f647853b29712b9e0bf00d58bb1.zip |
Fix pthread required. This relates to PR #35.
Signed-off-by: Ray-V <[email protected]>
-rw-r--r-- | ConfigureChecks.cmake | 5 | ||||
-rw-r--r-- | src/gvcore/CMakeLists.txt | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index d587bf1..205f5f5 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -98,6 +98,11 @@ if( NOT HAVE_LROUND ) endif( NOT HAVE_LROUND ) +##### check for thread support + +find_package( Threads ) + + ##### check architecture if( NOT CMAKE_ARCHITECTURE ) diff --git a/src/gvcore/CMakeLists.txt b/src/gvcore/CMakeLists.txt index 079d86b..b8362ad 100644 --- a/src/gvcore/CMakeLists.txt +++ b/src/gvcore/CMakeLists.txt @@ -74,7 +74,7 @@ tde_add_library( gwenviewcore SHARED AUTOMOC tdecore-shared tdeio-shared tdemediaplayer-shared tdeparts-shared tdeprint-shared tdeui-shared ${EXIV2_LIBRARIES} ${JPEG_LIBRARIES} ${MNG_LIBRARY} - ${PNG_LIBRARIES} ${XCURSOR_LIBRARIES} + ${PNG_LIBRARIES} ${XCURSOR_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} VERSION 1.0.0 DESTINATION ${LIB_INSTALL_DIR} ) |