You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-01 06:46:55 +03:00
don't abort the build if no libcurl
This commit is contained in:
@ -154,6 +154,13 @@ if (NOT SNAPPY_FOUND)
|
||||
return()
|
||||
endif()
|
||||
|
||||
FIND_PACKAGE(CURL)
|
||||
if (NOT CURL_FOUND)
|
||||
MESSAGE_ONCE(CS_NO_CURL "libcurl development headers not found")
|
||||
return()
|
||||
endif()
|
||||
|
||||
|
||||
FIND_PROGRAM(AWK_EXECUTABLE awk DOC "path to the awk executable")
|
||||
if(NOT AWK_EXECUTABLE)
|
||||
MESSAGE_ONCE(CS_NO_AWK "awk not found!")
|
||||
|
@ -11,7 +11,6 @@ SET(S3_SOURCES ${S3API_DIR}/src/debug.c
|
||||
|
||||
ADD_LIBRARY(marias3 SHARED ${S3_SOURCES})
|
||||
|
||||
FIND_PACKAGE(CURL REQUIRED)
|
||||
TARGET_LINK_LIBRARIES(marias3 curl)
|
||||
INCLUDE_DIRECTORIES(${S3API_DIR})
|
||||
|
||||
|
Reference in New Issue
Block a user