mirror of
https://github.com/curl/curl.git
synced 2025-01-12 13:55:11 +08:00
parent
7e932fac94
commit
0b31c713a9
@ -56,6 +56,7 @@ if(BUILD_TESTING)
|
|||||||
${HHEADERS} ${CSOURCES}
|
${HHEADERS} ${CSOURCES}
|
||||||
)
|
)
|
||||||
target_compile_definitions(curlu PUBLIC UNITTESTS CURL_STATICLIB)
|
target_compile_definitions(curlu PUBLIC UNITTESTS CURL_STATICLIB)
|
||||||
|
target_link_libraries(curlu PRIVATE ${CURL_LIBS})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(ENABLE_CURLDEBUG)
|
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)
|
set_source_files_properties(memdebug.c curl_multibyte.c PROPERTIES SKIP_UNITY_BUILD_INCLUSION ON)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(BUILD_TESTING)
|
|
||||||
target_link_libraries(curlu PRIVATE ${CURL_LIBS})
|
|
||||||
endif()
|
|
||||||
|
|
||||||
transform_makefile_inc("Makefile.soname" "${CMAKE_CURRENT_BINARY_DIR}/Makefile.soname.cmake")
|
transform_makefile_inc("Makefile.soname" "${CMAKE_CURRENT_BINARY_DIR}/Makefile.soname.cmake")
|
||||||
include(${CMAKE_CURRENT_BINARY_DIR}/Makefile.soname.cmake)
|
include(${CMAKE_CURRENT_BINARY_DIR}/Makefile.soname.cmake)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user