]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake/FindRocksDB: fix IMPORTED_LOCATION for ROCKSDB_LIBRARIES 27601/head
authordudengke <pinganddu90@gmail.com>
Thu, 7 Mar 2019 09:04:11 +0000 (17:04 +0800)
committerPrashant D <pdhange@redhat.com>
Mon, 15 Apr 2019 23:13:44 +0000 (19:13 -0400)
Signed-off-by: dudengke <pinganddu90@gmail.com>
(cherry picked from commit 7b6e05a03055d85e4616b7611906c40bbf03bb86)

cmake/modules/FindRocksDB.cmake

index 9818433b1e56b1260222eb1f8aaf44ffa42efd92..c5dd3dfaf6723eb8ccf00271d58a606fb4f13fed 100644 (file)
@@ -40,7 +40,7 @@ if(RocksDB_FOUND)
     set_target_properties(RocksDB::RocksDB PROPERTIES
       INTERFACE_INCLUDE_DIRECTORIES "${ROCKSDB_INCLUDE_DIR}"
       IMPORTED_LINK_INTERFACE_LANGUAGES "CXX"
-      IMPORTED_LOCATION "${ROCKSDB_LIBRARY}"
+      IMPORTED_LOCATION "${ROCKSDB_LIBRARIES}"
       VERSION "${ROCKSDB_VERSION_STRING}")
   endif()
 endif()