Skip to content

Commit

Permalink
refactor:install时将openssl动态库复制
Browse files Browse the repository at this point in the history
  • Loading branch information
overwriter committed Oct 29, 2023
1 parent 28f7140 commit 106888f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion QCloudMusicApi/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ target_link_libraries(QCloudMusicApi Qt${QT_VERSION_MAJOR}::Core Qt${QT_VERSION_
target_compile_definitions(QCloudMusicApi PRIVATE QCLOUDMUSICAPI_LIBRARY)

set(PUBLIC_HEADERS module.h)
install(FILES ${PUBLIC_HEADERS} DESTINATION ${CMAKE_BINARY_DIR}/include)
install(FILES ${PUBLIC_HEADERS} DESTINATION ${CMAKE_HEADER_OUTPUT_DIRECTORY})
install(DIRECTORY ${OPENSSL_INCLUDE_DIR}/../bin DESTINATION ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/../)

0 comments on commit 106888f

Please sign in to comment.