Skip to content

Commit 463a60a

Browse files
committed
Do not install FetchContent packages
1 parent f20c238 commit 463a60a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ FetchContent_Declare(
88
GIT_REPOSITORY https://github.com/FNALssi/cetmodules
99
GIT_TAG 4.01.01
1010
GIT_SHALLOW ON
11+
EXCLUDE_FROM_ALL # Do not install
1112
FIND_PACKAGE_ARGS 4.01.01
1213
)
1314
# ... and the Catch2 unit testing framework
@@ -16,6 +17,7 @@ FetchContent_Declare(
1617
GIT_REPOSITORY https://github.com/catchorg/Catch2.git
1718
GIT_TAG v3.10.0
1819
GIT_SHALLOW ON
20+
EXCLUDE_FROM_ALL # Do not install
1921
FIND_PACKAGE_ARGS
2022
)
2123
# ... and Microsoft's C++ Guideline Support Library
@@ -24,6 +26,7 @@ FetchContent_Declare(
2426
GIT_REPOSITORY https://github.com/microsoft/GSL
2527
GIT_TAG v4.2.0
2628
GIT_SHALLOW ON
29+
EXCLUDE_FROM_ALL # Do not install
2730
FIND_PACKAGE_ARGS NAMES Microsoft.GSL
2831
)
2932
# ... and the Mimic C++ mocking framework
@@ -32,6 +35,7 @@ FetchContent_Declare(
3235
GIT_REPOSITORY https://github.com/DNKpp/mimicpp
3336
GIT_TAG v8
3437
GIT_SHALLOW ON
38+
EXCLUDE_FROM_ALL # Do not install
3539
FIND_PACKAGE_ARGS
3640
)
3741

0 commit comments

Comments
 (0)