CMake: remove duplicate "include(GNUInstallDirs)"

+ add missing copyright header

Change-Id: I2b61ab56a14d38360ac5beaebab4d2acf165dd46
This commit is contained in:
Skal 2020-12-17 07:16:11 +01:00
parent 2e7bed7925
commit 9eb2638119

View File

@ -1,3 +1,12 @@
##
## Copyright (c) 2020 Google LLC.
##
## Use of this source code is governed by a BSD-style license
## that can be found in the LICENSE file in the root of the source
## tree. An additional intellectual property rights grant can be found
## in the file PATENTS. All contributing project authors may
## be found in the AUTHORS file in the root of the source tree.
cmake_minimum_required(VERSION 3.5)
project(WebP C)
@ -651,7 +660,6 @@ if(WEBP_BUILD_ANIM_UTILS)
endif()
# Install the different headers and libraries.
include(GNUInstallDirs)
install(TARGETS ${INSTALLED_LIBRARIES}
EXPORT ${PROJECT_NAME}Targets
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/webp