diff options
author | Christophe Fergeau | 2009-10-31 01:21:28 +0100 |
---|---|---|
committer | Hector Martin | 2009-10-31 01:21:28 +0100 |
commit | 0161ec78ecc579795c9dd2e8d9f7732dbc7ff829 (patch) | |
tree | f384260c4aa67c156d65e72b551a45bbca7c173b /libusbmuxd | |
parent | 65b4442c1ee4dd0ad1dcd9d69d2b8a2c3a2f01b0 (diff) | |
download | usbmuxd-0161ec78ecc579795c9dd2e8d9f7732dbc7ff829.tar.gz usbmuxd-0161ec78ecc579795c9dd2e8d9f7732dbc7ff829.tar.bz2 |
Link libusbmuxd with pthread (fix underlinking)
Diffstat (limited to 'libusbmuxd')
-rw-r--r-- | libusbmuxd/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libusbmuxd/CMakeLists.txt b/libusbmuxd/CMakeLists.txt index fd47afb..d062f23 100644 --- a/libusbmuxd/CMakeLists.txt +++ b/libusbmuxd/CMakeLists.txt @@ -1,7 +1,8 @@ include_directories (${CMAKE_SOURCE_DIR}/common) add_library (libusbmuxd SHARED libusbmuxd.c sock_stuff.c ../common/utils.c) - +find_library (PTHREAD pthread) +target_link_libraries (libusbmuxd ${PTHREAD}) # 'lib' is a UNIXism, the proper CMake target is usbmuxd # But we can't use that due to the conflict with the usbmuxd daemon, # so instead change the library output base name to usbmuxd here |