diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2018-07-03 22:51:16 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2018-07-03 22:51:53 +0100 |
commit | ccc69bc760de2a0cba00f6123349dc4f380b4abb (patch) | |
tree | addc874bd9316a3626249c4ed3407e052cc45245 /dev-lang/squirrel/files | |
parent | app-admin/salt: Revbump to 2016.11.9-r2, pycryptodome (bug #611576) (diff) | |
download | gentoo-ccc69bc760de2a0cba00f6123349dc4f380b4abb.tar.gz gentoo-ccc69bc760de2a0cba00f6123349dc4f380b4abb.tar.bz2 gentoo-ccc69bc760de2a0cba00f6123349dc4f380b4abb.zip |
dev-lang/squirrel: declare used CMake variables, bug #659880
portage's QA check complains:
> One or more CMake variables were not used by the project:
> DISABLE_STATIC
> LONG_OUTPUT_NAMES
The warning is misleading. Variables are used but not declared
as 'options()'s. This change tweaks the declaration.
Reported-by: Toralf Förster
Closes: https://bugs.gentoo.org/659880
Package-Manager: Portage-2.3.41, Repoman-2.3.9
Diffstat (limited to 'dev-lang/squirrel/files')
-rw-r--r-- | dev-lang/squirrel/files/squirrel-3.1-declare-options.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/dev-lang/squirrel/files/squirrel-3.1-declare-options.patch b/dev-lang/squirrel/files/squirrel-3.1-declare-options.patch new file mode 100644 index 000000000000..11bdbf107ced --- /dev/null +++ b/dev-lang/squirrel/files/squirrel-3.1-declare-options.patch @@ -0,0 +1,10 @@ +Explicitly declare used CMake options + +Bug: https://bugs.gentoo.org/659880 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1 +1,4 @@ ++option(DISABLE_STATIC "Avoid building/installing static libraries.") ++option(LONG_OUTPUT_NAMES "Use longer names for binaries and libraries: squirrel3 (not sq).") ++ + if(MSVC) |