diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2017-10-09 11:40:43 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2017-10-09 11:40:43 +0200 |
| commit | 66297f07a43d2770a97c8456d20202f3d051d980 (patch) | |
| tree | 2c485eaa2390ec707851c087f3a071afc65b0a4e /src | |
| parent | e8b6b54d1f7a2c3d501b9afebe9019ad14f4053a (diff) | |
Unix build: fix regression of 2.3.0 where a shared-only or static-only build lacks the installation target for the library (#1019, fixes regression introduced by 3dfc6ca2bcf06fd1adb6b6b4cecc6c092f08ba0b)
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/openjp2/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/openjp2/CMakeLists.txt b/src/lib/openjp2/CMakeLists.txt index 0b452038..f8990ccf 100644 --- a/src/lib/openjp2/CMakeLists.txt +++ b/src/lib/openjp2/CMakeLists.txt @@ -99,6 +99,7 @@ else() set(INSTALL_LIBS ${OPENJPEG_LIBRARY_NAME} openjp2_static) else() add_library(${OPENJPEG_LIBRARY_NAME} ${OPENJPEG_SRCS}) + set(INSTALL_LIBS ${OPENJPEG_LIBRARY_NAME}) endif() endif() |
