Skip to content

Commit be2827c

Browse files
authored
Merge pull request #2303 from compnerd/less-code-is-moar-betta
2 parents 5b680b9 + dbe13a3 commit be2827c

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

CoreFoundation/CMakeLists.txt

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -314,8 +314,7 @@ add_framework(CoreFoundation
314314
URL.subproj/CFURLAccess.c
315315
URL.subproj/CFURL.c
316316
URL.subproj/CFURLComponents.c
317-
URL.subproj/CFURLComponents_URIParser.c
318-
URL.subproj/CFURLSessionInterface.c)
317+
URL.subproj/CFURLComponents_URIParser.c)
319318

320319
add_framework(CFURLSessionInterface
321320
${FRAMEWORK_LIBRARY_TYPE}
@@ -380,9 +379,6 @@ elseif(CMAKE_SYSTEM_NAME STREQUAL Windows)
380379
PRIVATE
381380
-D_WINDLL)
382381
endif()
383-
target_compile_definitions(CoreFoundation
384-
PRIVATE
385-
-DCURL_STATICLIB)
386382
target_compile_definitions(CFURLSessionInterface
387383
PRIVATE
388384
-DCURL_STATICLIB)
@@ -426,9 +422,6 @@ if(NOT CMAKE_SYSTEM_NAME STREQUAL Darwin)
426422
PRIVATE
427423
${LIBXML2_INCLUDE_DIR})
428424
find_package(CURL REQUIRED)
429-
target_include_directories(CoreFoundation
430-
PRIVATE
431-
${CURL_INCLUDE_DIRS})
432425
target_include_directories(CFURLSessionInterface
433426
PRIVATE
434427
${CURL_INCLUDE_DIRS})

0 commit comments

Comments
 (0)