]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
cmake: drop redundant macro from test clients
authorViktor Szakats <commit@vsz.me>
Tue, 17 Jun 2025 18:58:35 +0000 (20:58 +0200)
committerViktor Szakats <commit@vsz.me>
Wed, 18 Jun 2025 08:17:04 +0000 (10:17 +0200)
Not necessary now that test clients #include `curl_setup.h`.

Follow-up to 539d11297d36cff0bca7dda1f217186f060d577d #17642

Closes #17657

tests/client/CMakeLists.txt

index 266f6c64d7680196c0188d050affbcbc9d61be58..2f81adffbfcd22e9b5ed2a71023adc76768c7f2c 100644 (file)
@@ -50,6 +50,5 @@ target_include_directories(clients PRIVATE
   "${CMAKE_CURRENT_SOURCE_DIR}"          # for "first.h"
 )
 target_link_libraries(clients ${LIB_SELECTED} ${CURL_LIBS})
-set_property(TARGET clients APPEND PROPERTY COMPILE_DEFINITIONS "CURL_NO_OLDIES"
-  "$<$<BOOL:MSVC>:_CRT_SECURE_NO_DEPRECATE>")
+set_property(TARGET clients APPEND PROPERTY COMPILE_DEFINITIONS "CURL_NO_OLDIES")
 set_target_properties(clients PROPERTIES OUTPUT_NAME "${BUNDLE}" PROJECT_LABEL "Test ${BUNDLE}" UNITY_BUILD OFF)