Add dependencies
This commit is contained in:
5
3rdParty/CMakeLists.txt
vendored
5
3rdParty/CMakeLists.txt
vendored
@@ -6,4 +6,7 @@ endif()
|
||||
add_subdirectory(spdlog)
|
||||
add_subdirectory(assimp)
|
||||
add_subdirectory(magic-enum)
|
||||
add_subdirectory(yaml-cpp)
|
||||
add_subdirectory(yaml-cpp)
|
||||
add_subdirectory(pugixml)
|
||||
add_subdirectory(opencv)
|
||||
add_subdirectory(PlatformFolders)
|
||||
10
3rdParty/PlatformFolders/CMakeLists.txt
vendored
Normal file
10
3rdParty/PlatformFolders/CMakeLists.txt
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
include(FetchContent)
|
||||
|
||||
FetchContent_Declare(
|
||||
platform_folders
|
||||
GIT_REPOSITORY https://github.com/sago007/PlatformFolders.git
|
||||
GIT_TAG 4.2.0
|
||||
GIT_SHALLOW TRUE
|
||||
)
|
||||
set(PLATFORMFOLDERS_BUILD_TESTING OFF)
|
||||
FetchContent_MakeAvailable(platform_folders)
|
||||
10
3rdParty/opencv/CMakeLists.txt
vendored
Normal file
10
3rdParty/opencv/CMakeLists.txt
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
Find_Package(OpenCV)
|
||||
if (NOT OpenCV_FOUND)
|
||||
FetchContent_Declare(
|
||||
opencv
|
||||
GIT_REPOSITORY https://github.com/opencv/opencv.git
|
||||
GIT_TAG v4.5.0
|
||||
GIT_SHALLOW TRUE
|
||||
)
|
||||
FetchContent_MakeAvailable(opencv)
|
||||
endif()
|
||||
10
3rdParty/pugixml/CMakeLists.txt
vendored
Normal file
10
3rdParty/pugixml/CMakeLists.txt
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
include(FetchContent)
|
||||
|
||||
FetchContent_Declare(
|
||||
pugixml
|
||||
GIT_REPOSITORY https://github.com/zeux/pugixml.git
|
||||
GIT_TAG v1.11.4
|
||||
GIT_SHALLOW TRUE
|
||||
)
|
||||
set(PUGIXML_BUILD_TESTS OFF)
|
||||
FetchContent_MakeAvailable(pugixml)
|
||||
Reference in New Issue
Block a user