16 lines
640 B
Plaintext
16 lines
640 B
Plaintext
$OpenBSD: patch-CMakeLists_txt,v 1.4 2016/10/18 09:23:34 sthen Exp $
|
|
--- CMakeLists.txt.orig Wed Sep 28 19:18:16 2016
|
|
+++ CMakeLists.txt Tue Oct 18 09:42:21 2016
|
|
@@ -104,7 +104,10 @@ endif()
|
|
option(BUILD_DOC "Build the HTML documentation (with doxygen if available)." OFF)
|
|
|
|
string(TOLOWER ${PROJECT_NAME} projectname)
|
|
-set(OPENJPEG_INSTALL_SUBDIR "${projectname}-${OPENJPEG_VERSION_MAJOR}.${OPENJPEG_VERSION_MINOR}")
|
|
+
|
|
+if(NOT OPENJPEG_INSTALL_SUBDIR)
|
|
+ set(OPENJPEG_INSTALL_SUBDIR "${projectname}-${OPENJPEG_VERSION_MAJOR}.${OPENJPEG_VERSION_MINOR}")
|
|
+endif()
|
|
|
|
if(NOT OPENJPEG_INSTALL_BIN_DIR)
|
|
set(OPENJPEG_INSTALL_BIN_DIR "bin")
|