File tree Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,9 @@ IF(CMAKE_VERSION VERSION_EQUAL "3.0.0" OR
31
31
CMAKE_POLICY (SET CMP0045 OLD )
32
32
CMAKE_POLICY (SET CMP0042 OLD )
33
33
ENDIF ()
34
+ IF (POLICY CMP0048 )
35
+ CMAKE_POLICY (SET CMP0048 NEW )
36
+ ENDIF ()
34
37
IF (POLICY CMP0054 )
35
38
CMAKE_POLICY (SET CMP0054 NEW )
36
39
ENDIF ()
Original file line number Diff line number Diff line change
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} )
Original file line number Diff line number Diff line change @@ -318,7 +318,7 @@ ENDIF(CONNECT_WITH_MONGO)
318
318
OPTION (CONNECT_WITH_REST "Compile CONNECT storage engine with REST support" ON )
319
319
320
320
IF (CONNECT_WITH_REST )
321
- MESSAGE ( STATUS "=====> REST support is ON" )
321
+ MESSAGE_ONCE ( CONNECT_WITH_REST " REST support is ON" )
322
322
SET (CONNECT_SOURCES ${CONNECT_SOURCES} tabrest.cpp tabrest.h )
323
323
add_definitions (-DREST_SUPPORT )
324
324
FIND_PACKAGE (cpprestsdk QUIET )
You can’t perform that action at this time.
0 commit comments