Skip to content

Commit

Permalink
only include geode result if its not already available
Browse files Browse the repository at this point in the history
  • Loading branch information
matcool authored Nov 12, 2024
1 parent f5b4021 commit 8a9d672
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ if(PROJECT_IS_TOP_LEVEL AND NOT TULIP_DONT_BUILD_TESTS)
add_subdirectory(test)
endif()

CPMAddPackage("gh:geode-sdk/[email protected]")
if (NOT TARGET GeodeResult)
CPMAddPackage("gh:geode-sdk/[email protected]")
endif()

add_library(TulipHookInclude INTERFACE)
target_include_directories(TulipHookInclude INTERFACE
Expand Down

0 comments on commit 8a9d672

Please sign in to comment.