projects
/
openjpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54e4e8f
)
only install CHANGES when present
author
Mathieu Malaterre
<mathieu.malaterre@gmail.com>
Thu, 16 Feb 2012 08:09:51 +0000
(08:09 +0000)
committer
Mathieu Malaterre
<mathieu.malaterre@gmail.com>
Thu, 16 Feb 2012 08:09:51 +0000
(08:09 +0000)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 61689ca56897a57c29f4bb428b16b2df79ca51c3..213c306cf3e059342d89211417f85c4ae739d923 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-254,9
+254,9
@@
INSTALL( FILES ${OPENJPEG_BINARY_DIR}/OpenJPEGConfig.cmake
#-----------------------------------------------------------------------------
# install CHANGES and LICENSE
-I
NSTALL(
- FILES CHANGES
- LICENSE
-
DESTINATION ${OPENJPEG_INSTALL_DOC_DIR})
+I
F(EXISTS CHANGES)
+ INSTALL(FILES CHANGES DESTINATION ${OPENJPEG_INSTALL_DOC_DIR})
+ENDIF(EXISTS CHANGES)
+
INSTALL(FILES LICENSE
DESTINATION ${OPENJPEG_INSTALL_DOC_DIR})
INCLUDE (CMake/OpenJPEGCPack.cmake)