Fixing srslte library headers install

This commit is contained in:
Paul Sutton 2017-06-02 17:23:12 +01:00
parent 09f9063272
commit 0b21353c4a
2 changed files with 7 additions and 9 deletions

View File

@ -190,15 +190,6 @@ set(INCLUDE_DIR include)
set(DOC_DIR "share/doc/${CPACK_PACKAGE_NAME}")
set(DATA_DIR share/${CPACK_PACKAGE_NAME})
########################################################################
# Install headers
########################################################################
INSTALL(DIRECTORY include/
DESTINATION "${INCLUDE_DIR}"
FILES_MATCHING PATTERN "*.h"
)
########################################################################
# Compiler specific setup
########################################################################

View File

@ -25,3 +25,10 @@ add_subdirectory(src)
add_subdirectory(include)
add_subdirectory(examples)
add_subdirectory(test)
########################################################################
# Install library headers
########################################################################
INSTALL( DIRECTORY include/
DESTINATION "${INCLUDE_DIR}"
FILES_MATCHING PATTERN "*.h" )