1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-23 02:35:57 +01:00

Remove include directories CMakeLists files

* simply consolidate 6 files into 6 lines

* narrowed glob on inc and simplified
This commit is contained in:
solvingj
2017-09-14 12:32:27 -04:00
committed by Matias Fontanini
parent 171067eb22
commit e48f64daac
7 changed files with 9 additions and 36 deletions

View File

@@ -263,7 +263,6 @@ ADD_CUSTOM_TARGET(uninstall
# ******************
# Add subdirectories
# ******************
ADD_SUBDIRECTORY(include)
ADD_SUBDIRECTORY(src)
IF(LIBTINS_BUILD_EXAMPLES)
@@ -343,3 +342,12 @@ INSTALL(
DESTINATION CMake
COMPONENT dev
)
#Recursively list of all headers, with paths relative to include/tins
FILE(GLOB_RECURSE INCLUDE_FILES "include/tins/*.h")
INSTALL(
FILES ${INCLUDE_FILES}
DESTINATION .
COMPONENT Headers
)