mirror of
https://github.com/Hizenberg469/btClient.git
synced 2026-04-20 02:02:24 +03:00
first commit
This commit is contained in:
21
test/CMakeLists.txt
Normal file
21
test/CMakeLists.txt
Normal file
@@ -0,0 +1,21 @@
|
||||
set(TEST_MAIN "test_main.cpp")
|
||||
|
||||
add_executable(${TEST_EXE}
|
||||
${TEST_MAIN})
|
||||
|
||||
set(THREADS_PREFER_PTHREAD_FLAG ON)
|
||||
find_package(Threads REQUIRED)
|
||||
|
||||
target_link_libraries(${TEST_EXE} PUBLIC
|
||||
${TORRENT_LIB}
|
||||
${OPENSSL_LIBRARIES}
|
||||
${OPENSSL_CRYPTO_LIBRARY}
|
||||
${OPENSSL_SSL_LIBRARY}
|
||||
${CURL_LIBRARIES}
|
||||
Threads::Threads)
|
||||
|
||||
target_include_directories(${TEST_EXE} PUBLIC
|
||||
${HEADER_DIR}
|
||||
${OPENSSL_INCLUDE_DIR}
|
||||
${CURL_INCLUDE_DIRS}
|
||||
${EVENTPP_HEADER_DIR})
|
||||
Reference in New Issue
Block a user