2020-06-12 13:13:44 +08:00
|
|
|
diff --git a/benchmarks/CMakeLists.txt b/benchmarks/CMakeLists.txt
|
2020-10-13 06:24:13 +08:00
|
|
|
index bb29b8d..839a77f 100644
|
2020-06-12 13:13:44 +08:00
|
|
|
--- a/benchmarks/CMakeLists.txt
|
|
|
|
+++ b/benchmarks/CMakeLists.txt
|
|
|
|
@@ -27,6 +27,12 @@ function(add_benchmark name)
|
|
|
|
prepend(srcs ${CMAKE_CURRENT_SOURCE_DIR} ${srcs})
|
|
|
|
add_executable(benchmark-${name} ${srcs})
|
|
|
|
target_link_libraries(benchmark-${name} ${LIBPMEMOBJ_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
|
|
|
|
+ install(
|
|
|
|
+ TARGETS benchmark-${name}
|
|
|
|
+ RUNTIME DESTINATION tools
|
|
|
|
+ LIBRARY DESTINATION lib
|
|
|
|
+ ARCHIVE DESTINATION lib
|
|
|
|
+ )
|
|
|
|
endfunction()
|
|
|
|
|
|
|
|
add_check_whitespace(benchmarks-cmake ${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt)
|