-1

My project uses the sqlite library. I want to package the project and send it to my friend's computer. It needs to be packaged together with the sqlite.so file. What should I do

Why doesn't he work

install(TARGETS vr_desktop
        RUNTIME DESTINATION bin COMPONENT libraries
        LIBRARY DESTINATION lib COMPONENT libraries
        ARCHIVE DESTINATION lib/static COMPONENT libraries)
xinlin hou
  • 17
  • 3
  • if you want to copy the library into the output directory, something like this https://stackoverflow.com/questions/76867453/cmake-how-to-copy-dll-after-find-package/76868096#76868096 might work? – Alan Birtles Aug 11 '23 at 08:21

0 Answers0