aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2011-08-05 11:10:26 +0000
committerJörg Mayer <jmayer@loplof.de>2011-08-05 11:10:26 +0000
commita2c225e8e356aa09778268521047c9a6c128227f (patch)
treee67cba1283ee9151eb260644b5ee95be21438df5
parent4a61660f1281a9f6a1954eec6b0f52461f3b9fa2 (diff)
We can always add ${GTHREAD2_LIBRARIES} - this variable will be empty
if not building with the gthread library. svn path=/trunk/; revision=38359
-rw-r--r--CMakeLists.txt4
1 files changed, 1 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5a1a585d71..8e8329825c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -664,15 +664,13 @@ if(BUILD_wireshark AND GTK_FOUND)
ui
${GTK2_LIBRARIES}
${GTK3_LIBRARIES}
+ ${GTHREAD2_LIBRARIES}
codecs
${PORTAUDIO_LIBRARIES}
${LIBEPAN_LIBS}
${APPLE_CORE_SERVICES_LIBRARY}
${APPLE_COCOA_LIBRARY}
)
- if(ENABLE_THREADS)
- set(wireshark_LIBS ${wireshark_LIBS} ${GTHREAD2_LIBRARIES})
- endif()
set(wireshark_FILES
airpcap_loader.c
alert_box.c