vcpkg/ports/bitsery/fix-install-paths.patch
Stefano Sinigardi 726c111481 [vcpkg] fatal_error when patch fails to apply (#8087)
vcpkg will now fail on failure to apply patches except when using `--head`.
2019-10-07 10:35:13 -07:00

17 lines
615 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8125a28..8daee28 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -34,9 +34,9 @@ install(TARGETS bitsery
install(EXPORT bitseryTargets
FILE "BitseryConfig.cmake"
NAMESPACE Bitsery::
- DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/bitsery)
+ DESTINATION share/bitsery)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/BitseryConfigVersion.cmake
- DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/bitsery)
+ DESTINATION share/bitsery)
install(DIRECTORY include/bitsery
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})