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

13 lines
320 B
Diff
Raw Normal View History

2024-11-20 03:55:42 +01:00
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")