From 4a207b8a249b6bc55f6a4acaa43dbf5e9e11954c Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Wed, 4 May 2011 14:42:29 +0200 Subject: Explicitly link GThread on systems that don't do when just linking against GLib --- test/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 1a25ee6..ad30d3c 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -6,6 +6,7 @@ add_definitions("--std=c99 -Wall") find_package(PkgConfig) pkg_check_modules(GTK2 gtk+-2.0) +pkg_check_modules(GTHREAD2 gthread-2.0) include_directories(${CMAKE_SOURCE_DIR}/src) @@ -29,6 +30,7 @@ if (GTK2_FOUND) target_link_libraries(control uca ${GTK2_LIBRARIES} + ${GTHREAD2_LIBRARIES} ) endif() -- cgit v1.2.3