]> granicus.if.org Git - openjpeg/commitdiff
Unix build: fix regression of 2.3.0 where a shared-only or static-only build lacks...
authorEven Rouault <even.rouault@spatialys.com>
Mon, 9 Oct 2017 09:40:43 +0000 (11:40 +0200)
committerEven Rouault <even.rouault@spatialys.com>
Mon, 9 Oct 2017 09:40:43 +0000 (11:40 +0200)
src/lib/openjp2/CMakeLists.txt

index 0b452038458c4013cc305a35e5efc6bbd7b3b73b..f8990ccf095051326e429efd1a7eb67ec543d9a9 100644 (file)
@@ -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()