diff options
| author | Raghuram Subramani <raghus2247@gmail.com> | 2025-10-12 14:37:11 -0400 |
|---|---|---|
| committer | Raghuram Subramani <raghus2247@gmail.com> | 2025-10-12 14:37:11 -0400 |
| commit | 0ff85ec5203576b4d8c136cd3ed313d838371f74 (patch) | |
| tree | d9f35b51409077671ce65696a21f6c7cf2c1fa57 | |
| parent | f09dd259a4d31073e1aed712b3cd9ce31f88c991 (diff) | |
| -rw-r--r-- | CMakeLists.txt | 12 | ||||
| m--------- | discount | 0 |
2 files changed, 11 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 52b78a2..f5d6b44 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,15 @@ cmake_minimum_required(VERSION 3.21) -add_subdirectory(discount/cmake) + +include(FetchContent) +FetchContent_Declare( + discount + GIT_REPOSITORY "https://github.com/Orc/discount" + GIT_TAG "main" + SOURCE_DIR "discount" +) +FetchContent_MakeAvailable(discount) + +add_subdirectory(${discount_SOURCE_DIR}/cmake) project(msg C) diff --git a/discount b/discount deleted file mode 160000 -Subproject 878db10e91001b44a199ec60ac1fab2c766a225 |
