X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2Fgdcmopenjpeg%2Flibopenjpeg%2FCMakeLists.txt;h=965759c2b3cc58566de422b1bb8d6a9739c8f3bd;hb=76bb7282f2aee8ff167483c0ccf3397769b21326;hp=4a0259eab2b3d69d8d272fe5e80bb7ce5014670f;hpb=528ef07f83879d08f383db1639aaa3562326518d;p=gdcm.git diff --git a/src/gdcmopenjpeg/libopenjpeg/CMakeLists.txt b/src/gdcmopenjpeg/libopenjpeg/CMakeLists.txt index 4a0259ea..965759c2 100644 --- a/src/gdcmopenjpeg/libopenjpeg/CMakeLists.txt +++ b/src/gdcmopenjpeg/libopenjpeg/CMakeLists.txt @@ -34,5 +34,10 @@ ENDIF (WIN32) ADD_LIBRARY(${OPJ_PREFIX}openjpeg ${OpenJPEG_SRCS}) # Install library -INSTALL_TARGETS(/lib/gdcm ${OPJ_PREFIX}openjpeg) +IF(NOT GDCM_INSTALL_NO_LIBRARIES) + INSTALL_TARGETS( + ${GDCM_INSTALL_LIB_DIR} + RUNTIME_DIRECTORY ${GDCM_INSTALL_BIN_DIR} + ${OPJ_PREFIX}openjpeg) +ENDIF(NOT GDCM_INSTALL_NO_LIBRARIES)