Skip to content

Commit

Permalink
Fix for libfltk_forms.so not being available in packaging but needed …
Browse files Browse the repository at this point in the history
…by pyFLTK.
  • Loading branch information
ggarra13 committed Oct 7, 2023
1 parent 28b1426 commit d53ebd3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cmake/prepackage.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ if( UNIX)
get_macos_runtime_dependencies( ${EXES} DEPENDENCIES )
else()
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/" )
endif()
endif()
file( COPY ${DEPENDENCIES} DESTINATION "${CPACK_PREPACKAGE}/lib/" )
elseif(WIN32)
Expand Down

0 comments on commit d53ebd3

Please sign in to comment.