Skip to content

Commit

Permalink
Update install-rules.cmake
Browse files Browse the repository at this point in the history
The current install rules double indent the include folder: as in `include/libname/libname/header.hpp`
  • Loading branch information
anders-wind authored Sep 23, 2022
1 parent 36179f1 commit eabb17f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions cmake-init/templates/common/cmake/install-rules.cmake
Original file line number Diff line number Diff line change
@@ -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 %}

Expand Down

0 comments on commit eabb17f

Please sign in to comment.