File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -43,5 +43,5 @@ include_directories(BEFORE ${OpenJPEG_INCLUDE_DIRS})
4343
4444
4545if (OpenJPEG_BUILD_SHARED_LIBS)
46- install_local_dependency_libs (OpenJPEG OpenJPEG )
46+ install_local_dependency_libs (OpenJPEG openjp2 )
4747endif ()
Original file line number Diff line number Diff line change @@ -719,17 +719,23 @@ endmacro ()
719719# This is useful for dynamic libraries that we need to be part of our own
720720# installation.
721721macro (install_local_dependency_libs pkgname libname)
722+ message (" in install_local_dependency_libs pkgname = ${pkgname} " )
723+ message (" in install_local_dependency_libs libname = ${libname} " )
724+
722725 # We need to include the Imath dynamic libraries in our own install.
723726 # get_target_property(_lib_files Imath::Imath INTERFACE_LINK_LIBRARIES)
724727 set (patterns ${ARGN} )
725728 file (GLOB _lib_files
726729 "${${pkgname} _LOCAL_INSTALL_DIR}/lib/*${libname} *"
727730 "${${pkgname} _LOCAL_INSTALL_DIR}/lib/${${PROJECT_NAME} _DEPENDENCY_BUILD_TYPE}/*${libname} *"
728731 )
732+ message (" in install_local_dependency_libs _lib_files = ${_lib_files} " )
729733 install (FILES ${_lib_files} TYPE LIB COMPONENT user)
730734 # message("${pkgname}_LOCAL_INSTALL_DIR = ${${pkgname}_LOCAL_INSTALL_DIR}")
731735 # message(" lib files = ${_lib_files}")
732736 if (WIN32 )
737+ message (" in install_local_dependency_libs found win32" )
738+
733739 # On Windows, check for DLLs, which go in the bin directory
734740 file (GLOB _lib_files
735741 "${${pkgname} _LOCAL_INSTALL_DIR}/bin/*${libname} *.dll"
You can’t perform that action at this time.
0 commit comments