Skip to content

Commit 9e6125b

Browse files
committed
Minor update to developer documentation
FetchContent_Populate is now deprecated. The alternative would be to set policy CMP0169 as OLD, but that would only be a temporary solution. Signed-off-by: Abbas Bracken Ziad <[email protected]>
1 parent 197d9a6 commit 9e6125b

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

doc/developer_documentation.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -202,11 +202,7 @@ include(FetchContent)
202202
FetchContent_Declare(stim
203203
GIT_REPOSITORY https://github.com/quantumlib/stim.git
204204
GIT_TAG v1.4.0) # [[[<<<<<<< customize the version you want!!]]]
205-
FetchContent_GetProperties(stim)
206-
if(NOT stim_POPULATED)
207-
FetchContent_Populate(stim)
208-
add_subdirectory(${stim_SOURCE_DIR})
209-
endif()
205+
FetchContent_MakeAvailable(stim)
210206
```
211207

212208
(Replace `v1.4.0` with another version tag as appropriate.)

0 commit comments

Comments
 (0)