Skip to content

Commit

Permalink
Merge branch 'dev' of github.com:s12mmm3/QCloudMusicApi into openssl-…
Browse files Browse the repository at this point in the history
…cmake
  • Loading branch information
overwriter committed Jan 12, 2024
2 parents 8d0528c + 9c04fbe commit b13b3c2
Show file tree
Hide file tree
Showing 9 changed files with 341 additions and 342 deletions.
10 changes: 4 additions & 6 deletions QCloudMusicApi/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,11 @@ find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Core Network)
#include_directories(openssl-cmake/include)

#message(${OPENSSL_ROOT_DIR})
FILE(GLOB HEADERS ./*.h ./util/*.h)
FILE(GLOB SOURCES ./*.cpp ./util/*.cpp)
add_library(QCloudMusicApi SHARED
./util/crypto.h
./util/config.h
./util/index.h
module.h
module.cpp
request.hpp
${HEADERS}
${SOURCES}
)

target_link_libraries(QCloudMusicApi Qt${QT_VERSION_MAJOR}::Core Qt${QT_VERSION_MAJOR}::Network ${OPENSSL_SSL_LIBRARY} ${OPENSSL_CRYPTO_LIBRARY})
Expand Down
Loading

0 comments on commit b13b3c2

Please sign in to comment.