diff --git a/CHANGES b/CHANGES index 1bf5efec..aa83d2a1 100644 --- a/CHANGES +++ b/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(). diff --git a/libopenjpeg/CMakeLists.txt b/libopenjpeg/CMakeLists.txt index 39fb2a9a..bf9fb016 100644 --- a/libopenjpeg/CMakeLists.txt +++ b/libopenjpeg/CMakeLists.txt @@ -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(