summaryrefslogtreecommitdiffstats
path: root/src/rbd_replay/CMakeLists.txt
diff options
context:
space:
mode:
authorchangtao <changtao@hihuron.com>2016-02-02 12:47:53 +0100
committerchangtao <changtao@hihuron.com>2016-02-03 17:16:43 +0100
commit457f023d5c013299446971a6b6b6b984bc0c9d63 (patch)
treeda06eaedbc59cc5521cbfa892292d130abacf1c1 /src/rbd_replay/CMakeLists.txt
parentMerge pull request #7445 from xiexingguo/xxg-wip-mem (diff)
downloadceph-457f023d5c013299446971a6b6b6b984bc0c9d63.tar.xz
ceph-457f023d5c013299446971a6b6b6b984bc0c9d63.zip
CMake: For CMake version <= 2.8.11, use LINK_{PRIVATE,PUBLIC} instead of PRIVATE,PUBLIC for backward compatibility
Signed-off-by: Tao Chang <changtao@hihuron.com>
Diffstat (limited to 'src/rbd_replay/CMakeLists.txt')
-rw-r--r--src/rbd_replay/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rbd_replay/CMakeLists.txt b/src/rbd_replay/CMakeLists.txt
index b6608f031da..6d3d0a47645 100644
--- a/src/rbd_replay/CMakeLists.txt
+++ b/src/rbd_replay/CMakeLists.txt
@@ -10,7 +10,7 @@ set(librbd_replay_srcs
rbd_loc.cc
Replayer.cc)
add_library(rbd_replay STATIC ${librbd_replay_srcs})
-target_link_libraries(rbd_replay PRIVATE librbd librados global)
+target_link_libraries(rbd_replay LINK_PRIVATE librbd librados global)
add_executable(rbd-replay
rbd-replay.cc