Skip to content

Commit

Permalink
Installed lib64 DSOs.
Browse files Browse the repository at this point in the history
  • Loading branch information
ggarra13 committed Oct 7, 2023
1 parent d53ebd3 commit bc319f4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions cmake/prepackage.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,9 @@ if( UNIX)
get_runtime_dependencies( ${EXES} DEPENDENCIES )
set(linux_lib64_dir "${CPACK_PREPACKAGE}/lib64")
if (EXISTS "${linux_lib64_dir}" )
file( GLOB lib64_libs "${linux_lib64_dir}/lib*")
file( COPY ${lib64_libs} DESTINATION "${CPACK_PREPACKAGE}/lib/" )
message( NOTICE "${linux_lib64_dir} exists...")
else()
message( NOTICE "${linux_lib64_dir} does not exist...")
endif()
endif()
file( COPY ${DEPENDENCIES} DESTINATION "${CPACK_PREPACKAGE}/lib/" )
Expand Down
5 changes: 3 additions & 2 deletions mrv2/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,9 @@ if ( APPLE )
COMPONENT applications )
elseif ( UNIX )
# Install all .so in CMAKE_INSTALL_PREFIX/lib
file( GLOB MRV_DSOS ${CMAKE_INSTALL_PREFIX}/lib/*.so* )
install( FILES ${MRV_DSOS}
file( GLOB MRV_LIB_DSOS ${CMAKE_INSTALL_PREFIX}/lib/*.so* )
file( GLOB MRV_LIB64_DSOS ${CMAKE_INSTALL_PREFIX}/lib64/*.so* )
install( FILES ${MRV_LIB_DSOS} ${MRV_LIB64_DSOS}
DESTINATION lib
COMPONENT applications )
elseif(WIN32)
Expand Down

0 comments on commit bc319f4

Please sign in to comment.