Skip to content

Commit

Permalink
fix Cmake FetchContent build bug (#782)
Browse files Browse the repository at this point in the history
  • Loading branch information
171930433 committed Sep 25, 2024
1 parent 0766d83 commit 4ccad48
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ include(FetchContent)
FetchContent_Declare(
yalantinglibs
GIT_REPOSITORY https://github.com/JYLeeLYJ/yalantinglibs.git
GIT_TAG feat/fetch # optional ( default master / main )
GIT_REPOSITORY https://github.com/alibaba/yalantinglibs.git
GIT_TAG 0766d839fe52eb12ac7ecd34bc39a76399cfde41 # optional ( default master / main )
GIT_SHALLOW 1 # optional ( --depth=1 )
)
Expand Down
1 change: 1 addition & 0 deletions cmake/install.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ target_include_directories(yalantinglibs INTERFACE
$<INSTALL_INTERFACE:include>
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/../include>
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/../include/ylt/thirdparty>
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/../include/ylt/standalone>
)
install(TARGETS yalantinglibs
EXPORT yalantinglibsTargets
Expand Down

0 comments on commit 4ccad48

Please sign in to comment.