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")
