Skip to content

Commit a889c1b

Browse files
committed
Revert some changes
1 parent 58eaaa7 commit a889c1b

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

CMakeLists.txt

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -347,17 +347,6 @@ macro(xeus_cpp_create_target target_name linkage output_name)
347347
elseif (NOT EMSCRIPTEN)
348348
find_package(CURL REQUIRED)
349349

350-
# Add CURL_STATICLIB definition if linking statically
351-
if (CURL_STATICLIB)
352-
target_compile_definitions(${target_name} PUBLIC CURL_STATICLIB)
353-
endif()
354-
355-
# Link against the correct libcurl target
356-
if (CURL_FOUND)
357-
target_include_directories(${target_name} PRIVATE ${CURL_INCLUDE_DIRS})
358-
target_link_libraries(${target_name} PRIVATE ${CURL_LIBRARIES})
359-
endif()
360-
361350
# Curl initialised specifically for xassist
362351
target_link_libraries(${target_name} PUBLIC ${XEUS_CPP_XEUS_TARGET} clangCppInterOp pugixml argparse::argparse CURL::libcurl)
363352
else ()

0 commit comments

Comments
 (0)