diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-04-21 15:03:04 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-04-21 15:03:26 +0200 |
commit | 3057c6cd736dc40483311ee73f7b697cf519158b (patch) | |
tree | 9ea258fb76a41e28694fa2e9352a2a46f7b46ac1 /tests/libtest | |
parent | dd2bb485521c2ec713001b3a7356555dd893e2e6 (diff) | |
download | curl-3057c6cd736dc40483311ee73f7b697cf519158b.tar.gz |
Revert "cmake: make libcurl library output name configurable"
This reverts commit 1cba36d2166c396f987eea587cf92671b27acb92.
CMake provides properties that can be set on a target to rename the
output artifact without changing the name of a target.
Ref: #6899
Diffstat (limited to 'tests/libtest')
-rw-r--r-- | tests/libtest/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libtest/CMakeLists.txt b/tests/libtest/CMakeLists.txt index 43a6c41a7..2bcf77874 100644 --- a/tests/libtest/CMakeLists.txt +++ b/tests/libtest/CMakeLists.txt @@ -36,7 +36,7 @@ function(setup_test TEST_NAME) # ARGN are the files in the test include_directories(${CARES_INCLUDE_DIR}) endif() - target_link_libraries(${TEST_NAME} ${LIB_NAME} ${CURL_LIBS}) + target_link_libraries(${TEST_NAME} libcurl ${CURL_LIBS}) set_target_properties(${TEST_NAME} PROPERTIES COMPILE_DEFINITIONS ${UPPER_TEST_NAME}) |