mirror of
https://github.com/curl/curl.git
synced 2026-07-24 12:17:16 +03:00
parent
7e932fac94
commit
0b31c713a9
1 changed files with 1 additions and 4 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue