added missing GNUInstallDirs include (#539)

This commit is contained in:
Robin Mueller 2022-05-17 18:08:31 +02:00 committed by GitHub
parent ba1db8b55b
commit f5ebc9e1f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,6 +30,7 @@ if(${CMAKE_PROJECT_NAME} STREQUAL ${PROJECT_NAME})
# Steps here based on excellent guide: https://dominikberner.ch/cmake-interface-lib/
# Which also details all steps
include(CMakePackageConfigHelpers)
include(GNUInstallDirs)
install(TARGETS ${PROJECT_NAME}
EXPORT ${PROJECT_NAME}Targets
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}