Skip to content

Commit

Permalink
Fix overly chatty connect cmake, once again
Browse files Browse the repository at this point in the history
  • Loading branch information
vaintroub committed Dec 11, 2019
1 parent e949b2d commit 8d2f6d3
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions storage/connect/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -322,10 +322,8 @@ ENDIF(CONNECT_WITH_MONGO)
OPTION(CONNECT_WITH_REST "Compile CONNECT storage engine with REST support" ON)

IF(CONNECT_WITH_REST)
MESSAGE(STATUS "=====> REST support is ON")
FIND_PACKAGE(cpprestsdk)
FIND_PACKAGE(cpprestsdk QUIET)
IF (cpprestsdk_FOUND)
MESSAGE(STATUS "=====> cpprestsdk found")
IF(UNIX)
# INCLUDE_DIRECTORIES(${CPPRESTSDK_INCLUDE_DIR})
# If needed edit next line to set the path to libcpprest.so
Expand All @@ -334,8 +332,6 @@ IF(CONNECT_WITH_REST)
ENDIF(UNIX)
SET(CONNECT_SOURCES ${CONNECT_SOURCES} tabrest.cpp restget.cpp tabrest.h)
add_definitions(-DREST_SUPPORT)
ELSE(NOT cpprestsdk_FOUND)
MESSAGE(STATUS "=====> cpprestsdk package not found")
ENDIF (cpprestsdk_FOUND)
ENDIF(CONNECT_WITH_REST)

Expand Down

0 comments on commit 8d2f6d3

Please sign in to comment.