X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2Fgdcmopenjpeg%2Flibopenjpeg%2FCMakeLists.txt;h=965759c2b3cc58566de422b1bb8d6a9739c8f3bd;hb=880f6dfe2e061712fafbf75ab9547aadf170fc40;hp=4a0259eab2b3d69d8d272fe5e80bb7ce5014670f;hpb=608c76cbf839ee2a9ff9dcbc0ed56bfee3b9fe42;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)