diff options
-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} ) |