mirror of
https://github.com/apache/impala.git
synced 2026-01-01 09:00:42 -05:00
We now maintain our own internal version of the Mongoose webserver, renamed to 'Squeasel' for differentiation. This patch imports the new code, and swaps all mentions of mongoose or mg_ for squeasel / sq_. In the future, we might consider making Squeasel a git subproject so that we can pull in changes more easily. Change-Id: I83b595dc336a32f2c8aba59eee420b71274b681b Reviewed-on: http://gerrit.ent.cloudera.com:8080/485 Tested-by: jenkins Reviewed-by: Henry Robinson <henry@cloudera.com>
27 lines
788 B
CMake
27 lines
788 B
CMake
# - Find Squeasel (squeasel.h and squeasel.c)
|
|
# This module defines
|
|
# SQUEASEL_INCLUDE_DIR, directory containing headers
|
|
# SQUEASEL_SRC_DIR, directory containing source
|
|
# SQUEASEL_FOUND, whether the Squeasel library has been located
|
|
|
|
find_path(SQUEASEL_INCLUDE_DIR squeasel/squeasel.h HINTS ${CMAKE_SOURCE_DIR}/thirdparty)
|
|
find_path(SQUEASEL_SRC_DIR squeasel.c HINTS ${CMAKE_SOURCE_DIR}/thirdparty/squeasel)
|
|
|
|
if (SQUEASEL_INCLUDE_DIR)
|
|
set(SQUEASEL_FOUND TRUE)
|
|
else ()
|
|
set(SQUEASEL_FOUND FALSE)
|
|
endif ()
|
|
|
|
if (SQUEASEL_FOUND)
|
|
if (NOT SQUEASEL_FIND_QUIETLY)
|
|
message(STATUS "Squeasel web server library found in ${SQUEASEL_INCLUDE_DIR}")
|
|
endif ()
|
|
else ()
|
|
message(STATUS "Squeasel web server library includes NOT found. ")
|
|
endif ()
|
|
|
|
mark_as_advanced(
|
|
SQUEASEL_INCLUDE_DIR
|
|
)
|