From eabb17fa2e8e62d655b84b9503a8fa3fe96d1873 Mon Sep 17 00:00:00 2001 From: Anders Wind Date: Fri, 23 Sep 2022 16:11:45 +0200 Subject: [PATCH] Update install-rules.cmake The current install rules double indent the include folder: as in `include/libname/libname/header.hpp` --- cmake-init/templates/common/cmake/install-rules.cmake | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cmake-init/templates/common/cmake/install-rules.cmake b/cmake-init/templates/common/cmake/install-rules.cmake index f7f69f8..e75af6c 100644 --- a/cmake-init/templates/common/cmake/install-rules.cmake +++ b/cmake-init/templates/common/cmake/install-rules.cmake @@ -1,7 +1,3 @@ -{% if not exe %}if(PROJECT_IS_TOP_LEVEL) - set(CMAKE_INSTALL_INCLUDEDIR include/{= name =} CACHE PATH "") -endif(){% if header %} - # Project is configured with no languages, so tell GNUInstallDirs the lib dir set(CMAKE_INSTALL_LIBDIR lib CACHE PATH ""){% end %}