Installation problem in libopenjpeg/CMakeLists.txt

12 views
Skip to first unread message

Patrick Reynolds

unread,
Nov 6, 2009, 2:06:42 PM11/6/09
to open...@googlegroups.com
Hi all,

I'm doing a bit of work with openjpeg and decided to build it on a few
platforms with cmake. When running a make install, the libraries were
copied to the wrong area (/openjpeg) instead of in a subdirectory of
my install path. This seems to be the result of INCLUDE_INSTALL_DIR
being undefined.

I've enclosed a patch that fixed the problem for me.

NOTE: This may be a result of my running a very new CVS version of
CMake. I'm using cmake 2.9.20091106 and this may be a result of a
change in cmake.

Thanks,
Patrick Reynolds

install_patch_541.patch

Patrick Reynolds

unread,
Nov 12, 2009, 10:51:03 AM11/12/09
to open...@googlegroups.com
I've also implemented a few more cmake best practices in some of the
build files. I wanted to get the OPJViewer building with cmake but
that didn't work out. I've packaged my changes in a patch.

Thanks,
Patrick

openjpeg_cmake_issues.diff
Reply all
Reply to author
Forward
0 new messages