vcpkg/ports/protobuf/fix-install-dirs.patch
2024-11-19 18:55:42 -08:00

13 lines
320 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 540c12253..320aaf72d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -13,6 +13,7 @@ endif()
# Project
project(protobuf C CXX)
+include(GNUInstallDirs)
if(protobuf_DEPRECATED_CMAKE_SUBDIRECTORY_USAGE)
if(CMAKE_PROJECT_NAME STREQUAL "protobuf")