diff options
author | Ray-V <[email protected]> | 2024-04-03 16:21:13 +0100 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-04-04 09:20:07 +0900 |
commit | cd17d521400b1914397fd1453c21e21b1bc5931f (patch) | |
tree | e679ac9925e865cd26ce386f9785e2a70e9ccc1a | |
parent | f0b27130491362231de1957ca92e6724c19d0f47 (diff) | |
download | gwenview-r14.1.2.tar.gz gwenview-r14.1.2.zip |
Fix pthread requiredr14.1.2
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} ) |