Skip to content

Commit ad98e94

Browse files
committed
ADD_EXTRA_PACKAGES option for modify headers
1 parent 3da4f2e commit ad98e94

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

test/members/CMakeLists.txt

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,19 @@ endif()
7474

7575
include(../../cmake/CPM.cmake)
7676

77-
CPMAddPackage("gh:geode-sdk/[email protected].3")
77+
CPMAddPackage("gh:geode-sdk/[email protected].4")
7878

7979
target_link_libraries(${PROJECT_NAME} PRIVATE TulipHookInclude)
8080

81+
if (ADD_EXTRA_PACKAGES)
82+
set(MAT_JSON_AS_INTERFACE ON)
83+
CPMAddPackage("gh:geode-sdk/[email protected]")
84+
CPMAddPackage("gh:fmtlib/fmt#11.1.4")
85+
86+
target_compile_definitions(${PROJECT_NAME} PRIVATE -DGEODE_MOD_ID="")
87+
target_link_libraries(${PROJECT_NAME} PRIVATE fmt mat-json GeodeResult)
88+
endif()
89+
8190
if (GEODE_TARGET_PLATFORM STREQUAL "MacOS")
8291
set(GEODE_MEMBER_TEST_PLATFORM "mac")
8392
set(GEODE_MEMBER_TEST_BINARY "Geode.dylib")

0 commit comments

Comments
 (0)