I\'m getting into CMAKE usage with C and actually I\'m creating two very small static libraries.
My goal is:
In a much better way, will copy all files that match the pattern and will preserve the directory structure.
INSTALL ( DIRECTORY ${CMAKE_SOURCE_DIR}/include/ DESTINATION include FILES_MATCHING PATTERN "*.h*")