more deps
This commit is contained in:
70
external/CMakeLists.txt
vendored
70
external/CMakeLists.txt
vendored
@@ -1,14 +1,70 @@
|
||||
cmake_minimum_required(VERSION 3.24 FATAL_ERROR)
|
||||
|
||||
#add_subdirectory(./entt)
|
||||
include(FetchContent)
|
||||
|
||||
#add_subdirectory(./solanaceae_util)
|
||||
#add_subdirectory(./solanaceae_contact)
|
||||
#add_subdirectory(./solanaceae_message3)
|
||||
# TODO: move entt dep into solanaceae_contact
|
||||
if (NOT TARGET EnTT::EnTT)
|
||||
FetchContent_Declare(EnTT
|
||||
GIT_REPOSITORY https://github.com/skypjack/entt.git
|
||||
GIT_TAG v3.12.2
|
||||
EXCLUDE_FROM_ALL
|
||||
)
|
||||
FetchContent_MakeAvailable(EnTT)
|
||||
endif()
|
||||
|
||||
#add_subdirectory(./solanaceae_plugin)
|
||||
if (NOT TARGET solanaceae_util)
|
||||
FetchContent_Declare(solanaceae_util
|
||||
GIT_REPOSITORY https://github.com/Green-Sky/solanaceae_util.git
|
||||
GIT_TAG master
|
||||
EXCLUDE_FROM_ALL
|
||||
)
|
||||
FetchContent_MakeAvailable(solanaceae_util)
|
||||
endif()
|
||||
|
||||
if (NOT TARGET solanaceae_contact)
|
||||
FetchContent_Declare(solanaceae_contact
|
||||
GIT_REPOSITORY https://github.com/Green-Sky/solanaceae_contact.git
|
||||
GIT_TAG master
|
||||
EXCLUDE_FROM_ALL
|
||||
)
|
||||
FetchContent_MakeAvailable(solanaceae_contact)
|
||||
endif()
|
||||
|
||||
if (NOT TARGET solanaceae_message3)
|
||||
FetchContent_Declare(solanaceae_message3
|
||||
GIT_REPOSITORY https://github.com/Green-Sky/solanaceae_message3.git
|
||||
GIT_TAG master
|
||||
EXCLUDE_FROM_ALL
|
||||
)
|
||||
FetchContent_MakeAvailable(solanaceae_message3)
|
||||
endif()
|
||||
|
||||
if (NOT TARGET solanaceae_plugin)
|
||||
FetchContent_Declare(solanaceae_plugin
|
||||
GIT_REPOSITORY https://github.com/Green-Sky/solanaceae_plugin.git
|
||||
GIT_TAG master
|
||||
EXCLUDE_FROM_ALL
|
||||
)
|
||||
FetchContent_MakeAvailable(solanaceae_plugin)
|
||||
endif()
|
||||
|
||||
add_subdirectory(./toxcore)
|
||||
#add_subdirectory(./solanaceae_toxcore)
|
||||
#add_subdirectory(./solanaceae_tox)
|
||||
|
||||
if (NOT TARGET solanaceae_toxcore)
|
||||
FetchContent_Declare(solanaceae_toxcore
|
||||
GIT_REPOSITORY https://github.com/Green-Sky/solanaceae_toxcore.git
|
||||
GIT_TAG master
|
||||
EXCLUDE_FROM_ALL
|
||||
)
|
||||
FetchContent_MakeAvailable(solanaceae_toxcore)
|
||||
endif()
|
||||
|
||||
if (NOT TARGET solanaceae_tox_contacts AND NOT TARGET solanaceae_tox_messages)
|
||||
FetchContent_Declare(solanaceae_tox
|
||||
GIT_REPOSITORY https://github.com/Green-Sky/solanaceae_tox.git
|
||||
GIT_TAG master
|
||||
EXCLUDE_FROM_ALL
|
||||
)
|
||||
FetchContent_MakeAvailable(solanaceae_tox)
|
||||
endif()
|
||||
|
||||
|
Reference in New Issue
Block a user