summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/FetchContent/MakeAvailableTwice.cmake
blob: a9af020914871b61df9aa9e757649bc8cee973a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
include(FetchContent)

FetchContent_Declare(
  WithProject
  SOURCE_DIR ${CMAKE_CURRENT_LIST_DIR}/WithProject
)

message(STATUS "Before first")
FetchContent_MakeAvailable(WithProject)
message(STATUS "Between both")
FetchContent_MakeAvailable(WithProject)
message(STATUS "After last")