From 83b44e3febc712ecc290f7a26663b5ba6d5e7b2e Mon Sep 17 00:00:00 2001 From: Chris Thrasher Date: Tue, 18 Apr 2023 22:59:47 -0600 Subject: [PATCH] Install contents of include/ instead of include/ itself --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 58d5763..bc15f43 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -81,8 +81,8 @@ if(CSFML_INSTALL_PKGCONFIG_FILES) endif() # setup the install rules -install(DIRECTORY include - DESTINATION . +install(DIRECTORY include/ + DESTINATION include COMPONENT devel PATTERN ".svn" EXCLUDE) install(FILES license.md DESTINATION ${INSTALL_MISC_DIR})