aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest
diff options
context:
space:
mode:
authorRuslan Baratov <ruslan_baratov@yahoo.com>2018-07-17 09:36:59 +0300
committerDaniel Stenberg <daniel@haxx.se>2018-07-17 11:54:07 +0200
commitd1207c07d0cc3c7870e50865052bb59850917ec9 (patch)
tree368eff237870038b10ba601eaddcf4c89b97ad03 /tests/libtest
parenta82372e0fb3aa3ce9ab27687c4d4a738a6ec9064 (diff)
CMake: Update scripts to use consistent style
Closes #2727 Reviewed-by: Sergei Nikulov
Diffstat (limited to 'tests/libtest')
-rw-r--r--tests/libtest/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/libtest/CMakeLists.txt b/tests/libtest/CMakeLists.txt
index bea8d60c8..bf2bc5e7e 100644
--- a/tests/libtest/CMakeLists.txt
+++ b/tests/libtest/CMakeLists.txt
@@ -1,6 +1,6 @@
set(TARGET_LABEL_PREFIX "Test ")
-function(SETUP_TEST TEST_NAME) # ARGN are the files in the test
+function(setup_test TEST_NAME) # ARGN are the files in the test
add_executable( ${TEST_NAME} ${ARGN} )
string(TOUPPER ${TEST_NAME} UPPER_TEST_NAME)
@@ -14,7 +14,7 @@ function(SETUP_TEST TEST_NAME) # ARGN are the files in the test
include_directories(${CARES_INCLUDE_DIR})
endif()
- target_link_libraries( ${TEST_NAME} libcurl ${CURL_LIBS})
+ target_link_libraries(${TEST_NAME} libcurl ${CURL_LIBS})
set_target_properties(${TEST_NAME}
PROPERTIES COMPILE_DEFINITIONS ${UPPER_TEST_NAME})