Skip to content
Snippets Groups Projects
Commit 0e059e2f authored by Santiago Ospina De Los Ríos's avatar Santiago Ospina De Los Ríos
Browse files

glob files instead of install directory

parent 44151d98
No related branches found
No related tags found
1 merge request!49Resolve "Finish installation and usage instruction on the documentation"
......@@ -71,8 +71,8 @@ else()
FetchContent_Populate(ghc_filesystem)
add_subdirectory("${ghc_filesystem_SOURCE_DIR}" "${ghc_filesystem_BINARY_DIR}")
install(DIRECTORY "${ghc_filesystem_SOURCE_DIR}/include/ghc"
FILES_MATCHING PATTERN "*.hpp"
file(GLOB GHC_HEADERS "${ghc_filesystem_SOURCE_DIR}/include/ghc/*.hpp")
install(FILES "${GHC_HEADERS}"
COMPONENT Development
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/ghc"
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment