diff options
| author | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2006-07-22 03:47:02 +0000 |
|---|---|---|
| committer | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2006-07-22 03:47:02 +0000 |
| commit | 9aa91701104a76ce95efb8839152490c46de35f5 (patch) | |
| tree | 8ed6ec6f542c0e35bb2efcd50652379f5b8ffdef /libopenjpeg | |
| parent | 4b3aabebd29a9d0b2b9fea0c76a18a4317c8d4de (diff) | |
ENH: Update CMake to do proper installation. Still using the 2.2 installation approach for now.
Diffstat (limited to 'libopenjpeg')
| -rw-r--r-- | libopenjpeg/CMakeLists.txt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libopenjpeg/CMakeLists.txt b/libopenjpeg/CMakeLists.txt index 2c1816f4..ceb9029f 100644 --- a/libopenjpeg/CMakeLists.txt +++ b/libopenjpeg/CMakeLists.txt @@ -1,6 +1,6 @@ INCLUDE_REGULAR_EXPRESSION("^.*$") # Defines the source code for the library -SET(OpenJPEG_SRCS +SET(OPENJPEG_SRCS bio.c cio.c dwt.c @@ -31,8 +31,10 @@ IF(WIN32) ENDIF(WIN32) # Create the library -ADD_LIBRARY(${OPJ_PREFIX}openjpeg ${OpenJPEG_SRCS}) +ADD_LIBRARY(${OPENJPEG_LIBRARY_NAME} ${OPENJPEG_SRCS}) # Install library -INSTALL_TARGETS(/lib/ ${OPJ_PREFIX}openjpeg) +INSTALL_TARGETS(/lib/ ${OPENJPEG_LIBRARY_NAME}) +# Install includes files +INSTALL_FILES(/include .h) |
