fix symlink creation (cmake)
This commit is contained in:
parent
5f1e13e770
commit
97c5fe052c
1
CHANGES
1
CHANGES
|
@ -8,6 +8,7 @@ What's New for OpenJPEG
|
|||
January 13, 2001
|
||||
+ [rdieter] add pkg-config support to cmake
|
||||
! [rdieter] adjust autotools pkg-config support to match
|
||||
* [rdieter] fix symlink creation (cmake)
|
||||
|
||||
January 9, 2011
|
||||
- [antonin] removed forgotten debug info in imagetopnm().
|
||||
|
|
|
@ -43,7 +43,7 @@ INSTALL(FILES openjpeg.h
|
|||
DESTINATION ${OPENJPEG_INSTALL_INCLUDE_DIR}/${subdir} COMPONENT Headers
|
||||
)
|
||||
INSTALL(CODE
|
||||
"EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -E create_symlink \$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${OPENJPEG_INSTALL_INCLUDE_DIR}/${subdir}/openjpeg.h \$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${OPENJPEG_INSTALL_INCLUDE_DIR}/openjpeg.h)")
|
||||
"EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -E create_symlink \"${subdir}/openjpeg.h\" \"\$ENV{DESTDIR}${OPENJPEG_INSTALL_INCLUDE_DIR}/openjpeg.h\")")
|
||||
|
||||
# install man page of the library
|
||||
INSTALL(
|
||||
|
|
Loading…
Reference in New Issue