vcpkg/ports/protobuf/fix-install-dirs.patch

13 lines
350 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2b9ca8ed6..1881eb221 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -13,6 +13,7 @@ endif()
# Project
project(protobuf C CXX)
+include(GNUInstallDirs)
if(CMAKE_CXX_STANDARD AND CMAKE_CXX_STANDARD LESS 17)
message(FATAL_ERROR "The minimum supported C++ standard is C++ 17")