make openjpeg.h header symlink to match autotools

This commit is contained in:
Rex Dieter 2012-02-10 01:25:03 +00:00
parent ed58a22d2e
commit a85c5151ce
1 changed files with 4 additions and 0 deletions

View File

@ -57,6 +57,10 @@ INSTALL(TARGETS ${OPENJPEG_LIBRARY_NAME}
INSTALL(FILES openjpeg.h INSTALL(FILES openjpeg.h
DESTINATION ${OPENJPEG_INSTALL_INCLUDE_DIR}/${OPENJPEG_INSTALL_SUBDIR} COMPONENT Headers DESTINATION ${OPENJPEG_INSTALL_INCLUDE_DIR}/${OPENJPEG_INSTALL_SUBDIR} COMPONENT Headers
) )
INSTALL( CODE "EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -E create_symlink
\"${OPENJPEG_INSTALL_SUBDIR}/openjpeg.h\"
\"\$ENV{DESTDIR}${OPENJPEG_INSTALL_INCLUDE_DIR}/openjpeg.h\")"
)
# install man page of the library # install man page of the library
INSTALL( INSTALL(