From f5ebc9e1f3cf33ccce139d446ca1f5ddb5a1c00d Mon Sep 17 00:00:00 2001 From: Robin Mueller <31589589+robamu@users.noreply.github.com> Date: Tue, 17 May 2022 18:08:31 +0200 Subject: [PATCH] added missing GNUInstallDirs include (#539) --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 51cf9edd..6cf7a050 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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}