Skip to content

Commit

Permalink
Fixup FetchContent docs et setup
Browse files Browse the repository at this point in the history
  • Loading branch information
jehelset authored Nov 20, 2024
1 parent 6ebb8c7 commit de316dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/setup.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
project(kumi-fetch LANGUAGES CXX)
include(FetchContent)
FetchContent_Declare(kumi GIT_REPOSITORY "https://github.com/jfalcou/kumi.git")
FetchContent_Declare(kumi GIT_REPOSITORY "https://github.com/jfalcou/kumi.git" GIT_TAG main)
FetchContent_MakeAvailable(kumi)
add_executable(test_kumi ../main.cpp)
Expand Down
4 changes: 2 additions & 2 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ set(root "${CMAKE_SOURCE_DIR}/test")
##======================================================================================================================
## Documentation tests
##======================================================================================================================
copa_glob_unit(QUIET PATTERN "doc/*.cpp" INTERFACE kumi_docs)
copa_glob_unit(QUIET PATTERN "doc/*.cpp" INTERFACE kumi_docs OPT_RELATIVE ${CMAKE_CURRENT_SOURCE_DIR})

##======================================================================================================================
## Unit tests
##======================================================================================================================
copa_glob_unit(QUIET PATTERN "unit/*.cpp" INTERFACE kumi_test)
copa_glob_unit(QUIET PATTERN "unit/*.cpp" INTERFACE kumi_test OPT_RELATIVE ${CMAKE_CURRENT_SOURCE_DIR})

0 comments on commit de316dd

Please # to comment.