Skip to content

Commit 150ea08

Browse files
committed
Use GNUInstallDirs CMAKE_INSTALL_INCLUDEDDIR path for headers installation
1 parent b180696 commit 150ea08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ if(INSTALL_MBEDTLS_HEADERS)
55
file(GLOB headers "mbedtls/*.h")
66

77
install(FILES ${headers}
8-
DESTINATION include/mbedtls
8+
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/mbedtls
99
PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ)
1010

1111
file(GLOB private_headers "mbedtls/private/*.h")
1212

1313
install(FILES ${private_headers}
14-
DESTINATION include/mbedtls/private
14+
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/mbedtls/private
1515
PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ)
1616
endif(INSTALL_MBEDTLS_HEADERS)
1717

0 commit comments

Comments
 (0)