From 50362025a8e77346baa5f1240924971eab1dcfe2 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Sun, 27 Nov 2016 12:15:25 +0100 Subject: 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 bae54760f470..f95023be106d 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) -- cgit v1.2.3-65-gdbad