Remove PUBLIC_HEADER attribute from install command

Since we already explicitly install `include/gsl`, this
doesn’t do anything.
This commit is contained in:
Hannes Steffenhagen 2020-02-08 12:55:19 +00:00
parent ebe8844344
commit 886fc95142

View File

@ -83,9 +83,7 @@ if (CMAKE_VERSION VERSION_GREATER 3.7.8)
endif() endif()
endif() endif()
install(TARGETS GSL EXPORT Microsoft.GSLConfig install(TARGETS GSL EXPORT Microsoft.GSLConfig)
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
)
install( install(
DIRECTORY include/gsl DIRECTORY include/gsl
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}