ClickHouse/libs/CMakeLists.txt
proller 04d2149e8a enable -Werror only for 'libs' and 'dbms' ; add 'cmake .. -DNO_WERROR… (#372)
* enable -Werror only for 'libs' and 'dbms' ; add 'cmake .. -DNO_WERROR=1'  option

* add -Werror for utils
2017-01-19 23:30:58 +04:00

11 lines
276 B
CMake

if (NOT NO_WERROR)
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror")
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror")
endif ()
add_subdirectory (libcommon)
add_subdirectory (libpocoext)
add_subdirectory (libmysqlxx)
add_subdirectory (libzkutil)
add_subdirectory (libdaemon)