From 886fc95142ab4156eab45dada3daace1d42c8dd9 Mon Sep 17 00:00:00 2001 From: Hannes Steffenhagen Date: Sat, 8 Feb 2020 12:55:19 +0000 Subject: [PATCH] Remove PUBLIC_HEADER attribute from `install` command MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since we already explicitly install `include/gsl`, this doesn’t do anything. --- CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 96ab24b..b7c1370 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -83,9 +83,7 @@ if (CMAKE_VERSION VERSION_GREATER 3.7.8) endif() endif() -install(TARGETS GSL EXPORT Microsoft.GSLConfig - PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} -) +install(TARGETS GSL EXPORT Microsoft.GSLConfig) install( DIRECTORY include/gsl DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}