commit:     50362025a8e77346baa5f1240924971eab1dcfe2
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 27 11:15:25 2016 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Nov 27 11:16:38 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50362025

media-libs/jasper: use set() instead of option() in CMakeLists.txt

* option() should only be used for boolean arguments
  https://cmake.org/cmake/help/latest/command/option.html?highlight=option

Package-Manager: portage-2.3.2

 media-libs/jasper/files/jasper-2.0.0-fix-build-system.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
index bae5476..f95023b 100644
--- 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
@@ -8,7 +8,7 @@
  option(JAS_ENABLE_OPENGL "Enable use of OpenGL Library" true)
  option(JAS_ENABLE_STRICT "Enable pedantic error checking" false)
  option(JAS_ENABLE_SHARED "Enable building of shared library" true)
-+option(CMAKE_INSTALL_LIBDIR "Path to install libraries into" lib)
++set(CMAKE_INSTALL_LIBDIR lib CACHE PATH "Path to install libraries into")
  
  if (APPLE AND ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
        set(MACOSX true)

Reply via email to