Skip to content

Commit 59e72fc

Browse files
committed
fix case
1 parent 0689ed4 commit 59e72fc

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ function(write_license_disclaimer FILE_NAME PACKAGES)
22
file(WRITE ${FILE_NAME} "")
33
set(PRINT_DELIMITER OFF)
44
foreach(package ${PACKAGES})
5-
file(GLOB licenses "${${package}_SOURCE_DIR}/LICENSE*" "${${package}_SOURCE_DIR}/license*")
5+
file(GLOB licenses "${${package}_SOURCE_DIR}/LICENSE*" "${${package}_SOURCE_DIR}/LICENCE*")
66
list(LENGTH licenses LICENSE_COUNT)
77
if(LICENSE_COUNT GREATER_EQUAL 1)
88
if(PRINT_DELIMITER)

test/project/CMakeLists.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,21 @@ CPMAddPackage(
99
NAME Catch2
1010
GITHUB_REPOSITORY catchorg/Catch2
1111
VERSION 2.5.0
12+
DOWNLOAD_ONLY YES
1213
)
1314

1415
CPMAddPackage(
1516
NAME fmt
1617
GIT_TAG 6.1.2
1718
GITHUB_REPOSITORY fmtlib/fmt
19+
DOWNLOAD_ONLY YES
20+
)
21+
22+
CPMAddPackage(
23+
NAME sol2
24+
URL https://github.com/ThePhD/sol2/archive/v3.2.1.zip
25+
VERSION 3.2.1
26+
DOWNLOAD_ONLY YES
1827
)
1928

2029
cpm_licenses_create_disclaimer_target(

0 commit comments

Comments
 (0)