We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3c1133 commit 1a7a69dCopy full SHA for 1a7a69d
1 file changed
tools/bigkey_analyzer/CMakeLists.txt
@@ -38,13 +38,10 @@ target_link_libraries(bigkey_analyzer
38
${JEMALLOC_LIBRARY}
39
)
40
41
-# Add dependencies
42
-add_dependencies(bigkey_analyzer
43
- rocksdb
44
- glog
45
- gflags
46
- storage
47
-)
+# Add dependencies (only if these targets exist in the parent CMake)
+if(TARGET storage)
+ add_dependencies(bigkey_analyzer storage)
+endif()
48
49
# Installation
50
install(TARGETS bigkey_analyzer
0 commit comments