diff options
| author | wangli28 <47812810+wangli28@users.noreply.github.com> | 2019-06-18 01:56:03 +0800 |
|---|---|---|
| committer | Phil Christensen <philc@microsoft.com> | 2019-06-17 10:56:03 -0700 |
| commit | 578139ece7607c3697d1db59dfe3a030993f767c (patch) | |
| tree | dddbfa970584fc661ff37c26d77be6506f8a9774 /ports/leveldb/fix-install_path.patch | |
| parent | f63ddfec5e412ce77961daaae751ae829b34f3c3 (diff) | |
| download | vcpkg-578139ece7607c3697d1db59dfe3a030993f767c.tar.gz vcpkg-578139ece7607c3697d1db59dfe3a030993f767c.zip | |
[leveldb] Port update (#6900)
Diffstat (limited to 'ports/leveldb/fix-install_path.patch')
| -rw-r--r-- | ports/leveldb/fix-install_path.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/ports/leveldb/fix-install_path.patch b/ports/leveldb/fix-install_path.patch new file mode 100644 index 000000000..11a71a41a --- /dev/null +++ b/ports/leveldb/fix-install_path.patch @@ -0,0 +1,19 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 1409c06..c81d219 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -440,12 +440,12 @@ if(LEVELDB_INSTALL) + install( + EXPORT leveldbTargets + NAMESPACE leveldb:: +- DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/leveldb" ++ DESTINATION "${CMAKE_INSTALL_LIBDIR}/../share/leveldb" + ) + install( + FILES + "${PROJECT_SOURCE_DIR}/cmake/leveldbConfig.cmake" + "${PROJECT_BINARY_DIR}/leveldbConfigVersion.cmake" +- DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/leveldb" ++ DESTINATION "${CMAKE_INSTALL_LIBDIR}/../share/leveldb" + ) + endif(LEVELDB_INSTALL) |
