mirror of
https://github.com/curl/curl.git
synced 2024-12-27 06:59:43 +08:00
parent
7e932fac94
commit
0b31c713a9
@ -56,6 +56,7 @@ if(BUILD_TESTING)
|
||||
${HHEADERS} ${CSOURCES}
|
||||
)
|
||||
target_compile_definitions(curlu PUBLIC UNITTESTS CURL_STATICLIB)
|
||||
target_link_libraries(curlu PRIVATE ${CURL_LIBS})
|
||||
endif()
|
||||
|
||||
if(ENABLE_CURLDEBUG)
|
||||
@ -64,10 +65,6 @@ if(ENABLE_CURLDEBUG)
|
||||
set_source_files_properties(memdebug.c curl_multibyte.c PROPERTIES SKIP_UNITY_BUILD_INCLUSION ON)
|
||||
endif()
|
||||
|
||||
if(BUILD_TESTING)
|
||||
target_link_libraries(curlu PRIVATE ${CURL_LIBS})
|
||||
endif()
|
||||
|
||||
transform_makefile_inc("Makefile.soname" "${CMAKE_CURRENT_BINARY_DIR}/Makefile.soname.cmake")
|
||||
include(${CMAKE_CURRENT_BINARY_DIR}/Makefile.soname.cmake)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user