Skip to content

Commit f777aa2

Browse files
committed
rtcheck: Switched to using cpm
1 parent 550849e commit f777aa2

File tree

2 files changed

+1366
-10
lines changed

2 files changed

+1366
-10
lines changed

CMakeLists.txt

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -44,20 +44,13 @@ endif ()
4444
set_property(GLOBAL PROPERTY USE_FOLDERS YES)
4545
option(JUCE_ENABLE_MODULE_SOURCE_GROUPS "Enable Module Source Groups" ON)
4646

47-
Include(FetchContent)
47+
include(cmake/CPM.cmake)
48+
CPMAddPackage("gh:Neargye/magic_enum#v0.9.7")
4849

4950
if(PLUGINVAL_ENABLE_RTCHECK)
50-
FetchContent_Declare(rtcheck
51-
GIT_REPOSITORY [email protected]:Tracktion/rtcheck.git
52-
GIT_TAG origin/main
53-
SOURCE_DIR ${CMAKE_CURRENT_BINARY_DIR}/rtcheck)
54-
FetchContent_MakeAvailable(rtcheck)
51+
CPMAddPackage("gh:Tracktion/rtcheck#main")
5552
endif()
5653

57-
FetchContent_Declare(magic_enum
58-
GIT_REPOSITORY [email protected]:Neargye/magic_enum.git)
59-
FetchContent_MakeAvailable(magic_enum)
60-
6154

6255
option(PLUGINVAL_FETCH_JUCE "Fetch JUCE along with pluginval" ON)
6356

0 commit comments

Comments
 (0)