vcpkg/ports/libpmemobj-cpp/fixlibpmemobj-cpp.patch
JonLiu1993 0eb207005d
[libpmemobj-cpp] Update to 1.11 (#13944)
* [libpmemobj-cpp] Update to 1.11

* [libpmemobj-cpp] Update to 1.11

* [libpmemobj-cpp] Update to 1.11

* [libpmemobj-cpp] Update to 1.11
2020-10-12 15:24:13 -07:00

18 lines
638 B
Diff

diff --git a/benchmarks/CMakeLists.txt b/benchmarks/CMakeLists.txt
index bb29b8d..839a77f 100644
--- 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)