diff options
author | Radek Podgorny <radek@podgorny.cz> | 2014-05-28 13:30:53 +0200 |
---|---|---|
committer | Radek Podgorny <radek@podgorny.cz> | 2014-05-28 13:30:53 +0200 |
commit | 1d9e2624cd6504372cbac043fdb6bf82c09c4c48 (patch) | |
tree | 5134a19461a524639d5676ab4e8fec28151decdd /src | |
parent | 0c13bbf72030e75d8262ec13f096629bb538a142 (diff) | |
download | unionfs-fuse-master.tar.gz |
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index d58d4f4..a6511c7 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -3,6 +3,10 @@ set(UNIONFS_SRCS unionfs.c stats.c opts.c debug.c findbranch.c readdir.c general.c unlink.c cow.c cow_utils.c string.c rmdir.c usyslog.c) add_executable(unionfs ${UNIONFS_SRCS} ${HASHTABLE_SRCS}) -target_link_libraries(unionfs fuse pthread rt) +target_link_libraries(unionfs fuse pthread) + +if (UNIX AND NOT APPLE) + target_link_libraries(rt) +endif() INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/unionfs DESTINATION bin) |