fix assumptions that OPENJPEG_INSTALL_*_DIR aren't relative paths
This commit is contained in:
parent
8336ace29a
commit
23cab09e07
|
@ -149,7 +149,7 @@ IF(UNIX)
|
|||
${OPENJPEG_INSTALL_SHARE_DIR}/pkgconfig )
|
||||
INSTALL( CODE "EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -E create_symlink
|
||||
\"libopenjpeg1.pc\"
|
||||
\"\$ENV{DESTDIR}${OPENJPEG_INSTALL_LIB_DIR}/pkgconfig/libopenjpeg.pc\")")
|
||||
\"\$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/${OPENJPEG_INSTALL_SHARE_DIR}/pkgconfig/libopenjpeg.pc\")")
|
||||
ENDIF(UNIX)
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
prefix=@CMAKE_INSTALL_PREFIX@
|
||||
bindir=@OPENJPEG_INSTALL_BIN_DIR@
|
||||
datadir=@OPENJPEG_INSTALL_DATA_DIR@
|
||||
libdir=@OPENJPEG_INSTALL_LIB_DIR@
|
||||
includedir=@OPENJPEG_INSTALL_INCLUDE_DIR@/@OPENJPEG_INSTALL_SUBDIR@
|
||||
bindir=${prefix}/@OPENJPEG_INSTALL_BIN_DIR@
|
||||
datadir=${prefix}/@OPENJPEG_INSTALL_DATA_DIR@
|
||||
libdir=${prefix}/@OPENJPEG_INSTALL_LIB_DIR@
|
||||
includedir=${prefix}/@OPENJPEG_INSTALL_INCLUDE_DIR@/@OPENJPEG_INSTALL_SUBDIR@
|
||||
|
||||
Name: openjpeg
|
||||
Description: JPEG2000 files library
|
||||
|
|
Loading…
Reference in New Issue