From d1207c07d0cc3c7870e50865052bb59850917ec9 Mon Sep 17 00:00:00 2001 From: Ruslan Baratov Date: Tue, 17 Jul 2018 09:36:59 +0300 Subject: CMake: Update scripts to use consistent style Closes #2727 Reviewed-by: Sergei Nikulov --- tests/libtest/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/libtest') 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}) -- cgit v1.2.3