Skip to content

Commit

Permalink
media-libs/jasper: use set() instead of option() in CMakeLists.txt
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
SoapGentoo committed Nov 27, 2016
1 parent ded9a39 commit 5036202
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5036202

Please sign in to comment.