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:
committed by
Matias Fontanini
parent
171067eb22
commit
e48f64daac
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user