diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2011-05-04 14:42:29 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2011-05-04 14:42:29 +0200 |
commit | 4a207b8a249b6bc55f6a4acaa43dbf5e9e11954c (patch) | |
tree | 1ed03d76fc3b52acbb9becf1d18a1794e0587f30 /test | |
parent | b0a0f5c0aabb534bbd00267dcc70a44927d7b707 (diff) | |
download | uca-4a207b8a249b6bc55f6a4acaa43dbf5e9e11954c.tar.gz uca-4a207b8a249b6bc55f6a4acaa43dbf5e9e11954c.tar.bz2 uca-4a207b8a249b6bc55f6a4acaa43dbf5e9e11954c.tar.xz uca-4a207b8a249b6bc55f6a4acaa43dbf5e9e11954c.zip |
Explicitly link GThread on systems that don't do when just linking against GLib
Diffstat (limited to 'test')
-rw-r--r-- | test/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
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() |