Skip to content

Commit

Permalink
Add comments, Remove unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
tharun571 committed Sep 9, 2024
1 parent 8818d03 commit f45e3ef
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -344,15 +344,9 @@ macro(xeus_cpp_create_target target_name linkage output_name)
if (MSVC)
target_compile_options(${target_name} PRIVATE "/MD$<$<CONFIG:Debug>:d>")
endif()
else ()
# Curl initialized specifically for xassist
find_package(CURL REQUIRED)
if (CURL_FOUND)
target_include_directories(${target_name} PRIVATE ${CURL_INCLUDE_DIRS})
target_link_libraries(${target_name} PRIVATE ${CURL_LIBRARIES})
endif()

target_link_libraries(${target_name} PUBLIC ${XEUS_CPP_XEUS_TARGET} clangCppInterOp pugixml argparse::argparse)
else()
# Curl initialised specifically for xassist
target_link_libraries(${target_name} PUBLIC ${XEUS_CPP_XEUS_TARGET} clangCppInterOp pugixml argparse::argparse curl)
endif()

if (WIN32 OR CYGWIN)
Expand Down

0 comments on commit f45e3ef

Please sign in to comment.