mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 09:02:00 +00:00
04d2149e8a
* enable -Werror only for 'libs' and 'dbms' ; add 'cmake .. -DNO_WERROR=1' option * add -Werror for utils
11 lines
276 B
CMake
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)
|