only install CHANGES when present
This commit is contained in:
parent
54e4e8f809
commit
b267239603
|
@ -254,9 +254,9 @@ INSTALL( FILES ${OPENJPEG_BINARY_DIR}/OpenJPEGConfig.cmake
|
||||||
|
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
# install CHANGES and LICENSE
|
# install CHANGES and LICENSE
|
||||||
INSTALL(
|
IF(EXISTS CHANGES)
|
||||||
FILES CHANGES
|
INSTALL(FILES CHANGES DESTINATION ${OPENJPEG_INSTALL_DOC_DIR})
|
||||||
LICENSE
|
ENDIF(EXISTS CHANGES)
|
||||||
DESTINATION ${OPENJPEG_INSTALL_DOC_DIR})
|
INSTALL(FILES LICENSE DESTINATION ${OPENJPEG_INSTALL_DOC_DIR})
|
||||||
|
|
||||||
INCLUDE (CMake/OpenJPEGCPack.cmake)
|
INCLUDE (CMake/OpenJPEGCPack.cmake)
|
||||||
|
|
Loading…
Reference in New Issue