Skip to content

Commit 4832b75

Browse files
committed
cmake: quieter
1 parent 38ea795 commit 4832b75

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ IF(CMAKE_VERSION VERSION_EQUAL "3.0.0" OR
3131
CMAKE_POLICY(SET CMP0045 OLD)
3232
CMAKE_POLICY(SET CMP0042 OLD)
3333
ENDIF()
34+
IF(POLICY CMP0048)
35+
CMAKE_POLICY(SET CMP0048 NEW)
36+
ENDIF()
3437
IF(POLICY CMP0054)
3538
CMAKE_POLICY(SET CMP0054 NEW)
3639
ENDIF()

cmake/FindBISON.cmake

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
IF(DEFINED BISON_EXECUTABLE)
2+
SET(bison_quiet QUIET)
3+
ENDIF()
4+
5+
set(orig_CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH})
6+
unset(CMAKE_MODULE_PATH)
7+
find_package(BISON ${BISON_FIND_VERSION} ${bison_quiet} ${BISON_FIND_REQUIRED})
8+
set(CMAKE_MODULE_PATH ${orig_CMAKE_MODULE_PATH})

storage/connect/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ ENDIF(CONNECT_WITH_MONGO)
318318
OPTION(CONNECT_WITH_REST "Compile CONNECT storage engine with REST support" ON)
319319

320320
IF(CONNECT_WITH_REST)
321-
MESSAGE(STATUS "=====> REST support is ON")
321+
MESSAGE_ONCE(CONNECT_WITH_REST "REST support is ON")
322322
SET(CONNECT_SOURCES ${CONNECT_SOURCES} tabrest.cpp tabrest.h)
323323
add_definitions(-DREST_SUPPORT)
324324
FIND_PACKAGE(cpprestsdk QUIET)

0 commit comments

Comments
 (0)