From: Casey Bodley Date: Wed, 3 Feb 2021 20:17:47 +0000 (-0500) Subject: cmake: remove unnecessary target_include_directories() for spawn X-Git-Tag: v17.1.0~3073^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=94b49496588a352e40ad594419f18a74cabdcef9;p=ceph.git cmake: remove unnecessary target_include_directories() for spawn targets that depend on spawn via target_link_libraries() automatically pull in their compile options and include directories Signed-off-by: Casey Bodley --- diff --git a/src/test/cls_fifo/CMakeLists.txt b/src/test/cls_fifo/CMakeLists.txt index c71ed790f94d..3abf7634a2fe 100644 --- a/src/test/cls_fifo/CMakeLists.txt +++ b/src/test/cls_fifo/CMakeLists.txt @@ -1,8 +1,6 @@ add_executable(ceph_test_cls_fifo test_cls_fifo.cc ) -target_include_directories(ceph_test_cls_fifo PRIVATE - $) target_link_libraries(ceph_test_cls_fifo neorados_cls_fifo libneorados @@ -21,8 +19,6 @@ install(TARGETS add_executable(ceph_bench_cls_fifo bench_cls_fifo.cc ) -target_include_directories(ceph_bench_cls_fifo PRIVATE - $) target_link_libraries(ceph_bench_cls_fifo neorados_cls_fifo libneorados diff --git a/src/tools/CMakeLists.txt b/src/tools/CMakeLists.txt index fb079b6a80aa..1a92898c571e 100644 --- a/src/tools/CMakeLists.txt +++ b/src/tools/CMakeLists.txt @@ -20,8 +20,6 @@ if(NOT WIN32) set(neorados_srcs neorados.cc) add_executable(neorados ${neorados_srcs}) - target_include_directories(neorados PRIVATE - $) target_link_libraries(neorados libneorados spawn ${CMAKE_DL_LIBS}) #install(TARGETS neorados DESTINATION bin) endif()