make openjpeg.h header symlink to match autotools
This commit is contained in:
parent
ed58a22d2e
commit
a85c5151ce
|
@ -57,6 +57,10 @@ INSTALL(TARGETS ${OPENJPEG_LIBRARY_NAME}
|
|||
INSTALL(FILES openjpeg.h
|
||||
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(
|
||||
|
|
Loading…
Reference in New Issue