Skip to content

Commit 66d0205

Browse files
committed
build: refine testbed config
1 parent 9a4ffa2 commit 66d0205

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

testbed/CMakeLists.txt

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,7 @@ FetchContent_Declare(
2525
GIT_SHALLOW 1
2626
)
2727

28-
FetchContent_GetProperties(imgui)
29-
30-
if(NOT imgui_POPULATED)
31-
FetchContent_Populate(imgui)
32-
set(imgui_INCLUDE_DIR ${imgui_SOURCE_DIR})
33-
endif()
28+
FetchContent_MakeAvailable(imgui)
3429

3530
# Testbed executable
3631

0 commit comments

Comments
 (0)