aboutsummaryrefslogtreecommitdiff
path: root/cmake/scripts/linux/Install.cmake
diff options
context:
space:
mode:
authorAlwin Esch <alwin.esch@web.de>2017-06-05 14:31:16 +0200
committerAlwin Esch <alwin.esch@web.de>2017-06-05 17:18:35 +0200
commita52ff8aaa6abc8a8cd486801355e0526aaf67d68 (patch)
tree4c73d83b150a2f374390f052e3bae488a8a766d8 /cmake/scripts/linux/Install.cmake
parent7703037414f1ac5ff8c6b773face741cc97cd255 (diff)
[cmake][addons] prevent the use of *.txt files
This prevent the use of text files from addon include dir during install and define by cmake.
Diffstat (limited to 'cmake/scripts/linux/Install.cmake')
-rw-r--r--cmake/scripts/linux/Install.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmake/scripts/linux/Install.cmake b/cmake/scripts/linux/Install.cmake
index 613a989649..e72bffc46d 100644
--- a/cmake/scripts/linux/Install.cmake
+++ b/cmake/scripts/linux/Install.cmake
@@ -148,7 +148,8 @@ endif()
# Install kodi-addon-dev headers
install(DIRECTORY ${CMAKE_SOURCE_DIR}/xbmc/addons/kodi-addon-dev-kit/include/kodi/
DESTINATION ${includedir}/${APP_NAME_LC}
- COMPONENT kodi-addon-dev)
+ COMPONENT kodi-addon-dev
+ REGEX ".txt" EXCLUDE)
install(FILES ${CMAKE_SOURCE_DIR}/xbmc/cores/VideoPlayer/DVDDemuxers/DVDDemuxPacket.h
${CMAKE_SOURCE_DIR}/xbmc/cores/VideoPlayer/DVDDemuxers/DemuxCrypto.h