1 |
commit: 50362025a8e77346baa5f1240924971eab1dcfe2 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 27 11:15:25 2016 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 27 11:16:38 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50362025 |
7 |
|
8 |
media-libs/jasper: use set() instead of option() in CMakeLists.txt |
9 |
|
10 |
* option() should only be used for boolean arguments |
11 |
https://cmake.org/cmake/help/latest/command/option.html?highlight=option |
12 |
|
13 |
Package-Manager: portage-2.3.2 |
14 |
|
15 |
media-libs/jasper/files/jasper-2.0.0-fix-build-system.patch | 2 +- |
16 |
1 file changed, 1 insertion(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/media-libs/jasper/files/jasper-2.0.0-fix-build-system.patch b/media-libs/jasper/files/jasper-2.0.0-fix-build-system.patch |
19 |
index bae5476..f95023b 100644 |
20 |
--- a/media-libs/jasper/files/jasper-2.0.0-fix-build-system.patch |
21 |
+++ b/media-libs/jasper/files/jasper-2.0.0-fix-build-system.patch |
22 |
@@ -8,7 +8,7 @@ |
23 |
option(JAS_ENABLE_OPENGL "Enable use of OpenGL Library" true) |
24 |
option(JAS_ENABLE_STRICT "Enable pedantic error checking" false) |
25 |
option(JAS_ENABLE_SHARED "Enable building of shared library" true) |
26 |
-+option(CMAKE_INSTALL_LIBDIR "Path to install libraries into" lib) |
27 |
++set(CMAKE_INSTALL_LIBDIR lib CACHE PATH "Path to install libraries into") |
28 |
|
29 |
if (APPLE AND ${CMAKE_SYSTEM_NAME} MATCHES "Darwin") |
30 |
set(MACOSX true) |