Skip to content

Commit

Permalink
Fixed curl linking
Browse files Browse the repository at this point in the history
  • Loading branch information
mauro-balades committed Jan 6, 2024
1 parent aa37969 commit 2212135
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ endif()

if (curl_ADDED)
target_include_directories(${PROJECT_NAME} PUBLIC ${curl_SOURCE_DIR}/include)
target_link_libraries(snowball PUBLIC ${CURL_LIBRARIES})
target_link_libraries(snowball PUBLIC ${curl_LIBRARIES})
endif()

#add_dependencies(snowballrt backtrace sigsegv)
Expand Down Expand Up @@ -327,7 +327,7 @@ target_include_directories(${PROJECT_NAME} PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}>
$<INSTALL_INTERFACE:include> PRIVATE source)
target_include_directories(${PROJECT_NAME} PUBLIC ${LLVM_INCLUDE_DIRS} ${PROJECT_INCLUDE_DIRS} ${backtrace_INCLUDE_DIRS})
target_link_libraries (${PROJECT_NAME} PUBLIC ${llvm_libs} ${GLIB_LIBRARIES} ${llvm_libraries} ${targets} ${PROJECT_LIBRARIES} snowballrt curl nlohmann_json::nlohmann_json)
target_link_libraries (${PROJECT_NAME} PUBLIC ${llvm_libs} ${GLIB_LIBRARIES} ${llvm_libraries} ${targets} ${PROJECT_LIBRARIES} snowballrt nlohmann_json::nlohmann_json)

target_compile_definitions(${PROJECT_NAME} PUBLIC ${PROJECT_COMPILE_DEFINITIONS})
add_compile_definitions("_SN_DEBUG=$<CONFIG:Debug>")
Expand Down

0 comments on commit 2212135

Please sign in to comment.