Description: explicitly link the tests with pthread to fix FTBFS (Closes: #713575)
Author: Andreas Moog <amoog@ubuntu.com>
Bug-Debian: http://bugs.debian.org/713575

--- libgcal-0.9.6.orig/utests/CMakeLists.txt
+++ libgcal-0.9.6/utests/CMakeLists.txt
@@ -21,7 +21,7 @@ set(GCAL_TEST_SOURCE_FILES
 )
 
 add_executable(testgcal ${GCAL_TEST_SOURCE_FILES})
-target_link_libraries(testgcal gcal ${CHECK_LIBRARIES})
+target_link_libraries(testgcal gcal ${CHECK_LIBRARIES} pthread)
 
 add_custom_target(
 	test
