Make sure FetchContent targets are replaceable
This commit is contained in:
parent
3807e438c5
commit
6c784abd5d
2 changed files with 22 additions and 18 deletions
|
@ -1,3 +1,4 @@
|
|||
if(NOT TARGET pugixml)
|
||||
include(FetchContent)
|
||||
|
||||
FetchContent_Declare(
|
||||
|
@ -9,3 +10,4 @@ FetchContent_Declare(
|
|||
FetchContent_MakeAvailable(
|
||||
ctre
|
||||
)
|
||||
endif()
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
if(NOT TARGET pugixml)
|
||||
include(FetchContent)
|
||||
|
||||
FetchContent_Declare(
|
||||
|
@ -9,3 +10,4 @@ FetchContent_Declare(
|
|||
FetchContent_MakeAvailable(
|
||||
pugixml
|
||||
)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue