diff options
| author | 2010-06-11 21:58:38 -0400 | |
|---|---|---|
| committer | 2010-06-12 04:28:57 +0200 | |
| commit | 6eef4b8c6263af1938ea52bc6e3c6976678225ff (patch) | |
| tree | 21d79d5e749715d845754bb81444c33d50e48bcb /CMakeLists.txt | |
| parent | 433f675157bfcbbb43cf93ac8cadb0120084098b (diff) | |
| download | usbmuxd-6eef4b8c6263af1938ea52bc6e3c6976678225ff.tar.gz usbmuxd-6eef4b8c6263af1938ea52bc6e3c6976678225ff.tar.bz2 | |
These patches get usbmuxd compiling/working on FreeBSD. With minor changes, it could work on other BSD's also.
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 93fa715..8ed2e37 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
| @@ -13,7 +13,7 @@ set(LIBUSBMUXD_SOVERSION "1") | |||
| 13 | message("-- Configuring usbmuxd v${VERSION_TAG}") | 13 | message("-- Configuring usbmuxd v${VERSION_TAG}") |
| 14 | 14 | ||
| 15 | if(NOT DEFINED LIB_SUFFIX) | 15 | if(NOT DEFINED LIB_SUFFIX) |
| 16 | if(CMAKE_SIZEOF_VOID_P EQUAL 8) | 16 | if(CMAKE_SIZEOF_VOID_P EQUAL 8 AND ${CMAKE_SYSTEM_NAME} MATCHES "Linux") |
| 17 | set(LIB_SUFFIX "64" CACHE STRING "Define suffix of library directory name (32/64)" ) | 17 | set(LIB_SUFFIX "64" CACHE STRING "Define suffix of library directory name (32/64)" ) |
| 18 | else() | 18 | else() |
| 19 | set(LIB_SUFFIX "" CACHE STRING "Define suffix of library directory name (32/64)" ) | 19 | set(LIB_SUFFIX "" CACHE STRING "Define suffix of library directory name (32/64)" ) |
| @@ -67,7 +67,7 @@ add_definitions(-Wall) | |||
| 67 | add_subdirectory (libusbmuxd) | 67 | add_subdirectory (libusbmuxd) |
| 68 | if (WITH_USBMUXD) | 68 | if (WITH_USBMUXD) |
| 69 | add_subdirectory (daemon) | 69 | add_subdirectory (daemon) |
| 70 | if (NOT WIN32 AND NOT APPLE) | 70 | if (${CMAKE_SYSTEM_NAME} MATCHES "Linux") |
| 71 | add_subdirectory (udev) | 71 | add_subdirectory (udev) |
| 72 | endif() | 72 | endif() |
| 73 | endif() | 73 | endif() |
