diff options
author | Brad King <brad.king@kitware.com> | 2021-08-24 14:02:58 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-08-24 14:02:58 (GMT) |
commit | fd64b84d152ea0d9e2425e172db34aeb67ea8cf1 (patch) | |
tree | 36f83561ddc7224f3e76b5512e616a6901b0936a | |
parent | 91ba89353618d99ab2d0370d8e903e696e9570b5 (diff) | |
parent | 49a5dbcaff57da133aadd7a31abdd65515b426e6 (diff) | |
download | CMake-fd64b84d152ea0d9e2425e172db34aeb67ea8cf1.zip CMake-fd64b84d152ea0d9e2425e172db34aeb67ea8cf1.tar.gz CMake-fd64b84d152ea0d9e2425e172db34aeb67ea8cf1.tar.bz2 |
Merge branch 'GNUInstallDirs-variable-named-0' into release-3.20
Merge-request: !6474
-rw-r--r-- | Modules/GNUInstallDirs.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/GNUInstallDirs.cmake b/Modules/GNUInstallDirs.cmake index e149f4c..4016a64 100644 --- a/Modules/GNUInstallDirs.cmake +++ b/Modules/GNUInstallDirs.cmake @@ -349,7 +349,7 @@ mark_as_advanced( macro(GNUInstallDirs_get_absolute_install_dir absvar var) set(GGAID_extra_args ${ARGN}) list(LENGTH GGAID_extra_args GGAID_extra_arg_count) - if(GGAID_extra_arg_count GREATER 0) + if(GGAID_extra_arg_count GREATER "0") list(GET GGAID_extra_args 0 GGAID_dir) else() # Historical behaviour: use ${dir} from caller's scope |